Class DocumentRendererContext
java.lang.Object
org.apache.maven.doxia.docrenderer.DocumentRendererContext
Deprecated.
Context when processing Velocity files using a
HashMap
for data storage.- Since:
- 1.1.2
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
containsKey
(Object key) Deprecated.Indicates whether the specified key is in the context.Deprecated.Gets the value corresponding to the provided key from the context.Deprecated.Object[]
getKeys()
Deprecated.Get all the keys for the values in the contextDeprecated.Adds a name/value pair to the context.Deprecated.Removes the value associated with the specified key from the context.void
setInputEncoding
(String inputEncoding) Deprecated.
-
Field Details
-
inputEncoding
Deprecated. -
context
Deprecated.Storage for key/value pairs.
-
-
Constructor Details
-
DocumentRendererContext
public DocumentRendererContext()Deprecated.Default constructor.
-
-
Method Details
-
getInputEncoding
Deprecated.- Returns:
- The input encoding when processing files.
-
setInputEncoding
Deprecated.- Parameters:
inputEncoding
- new input encoding value when processing files.
-
put
Deprecated.Adds a name/value pair to the context.- Parameters:
key
- The name to key the provided value with.value
- The corresponding value.- Returns:
- Object that was replaced in the the Context if applicable or null if not.
-
get
Deprecated.Gets the value corresponding to the provided key from the context.- Parameters:
key
- The name of the desired value.- Returns:
- The value corresponding to the provided key or null if the key param is null.
-
containsKey
Deprecated.Indicates whether the specified key is in the context.- Parameters:
key
- The key to look for.- Returns:
- true if the key is in the context, false if not.
-
getKeys
Deprecated.Get all the keys for the values in the context- Returns:
- Object[] of keys in the Context.
-
remove
Deprecated.Removes the value associated with the specified key from the context.- Parameters:
key
- The name of the value to remove.- Returns:
- The value that the key was mapped to, or
null
if unmapped.
-