|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.doxia.docrenderer.DocumentRendererContext
public class DocumentRendererContext
Context when processing Velocity files using a HashMap
for data storage.
Constructor Summary | |
---|---|
DocumentRendererContext()
Default constructor. |
Method Summary | |
---|---|
boolean |
containsKey(Object key)
Indicates whether the specified key is in the context. |
Object |
get(String key)
Gets the value corresponding to the provided key from the context. |
String |
getInputEncoding()
|
Object[] |
getKeys()
Get all the keys for the values in the context |
Object |
put(String key,
Object value)
Adds a name/value pair to the context. |
Object |
remove(Object key)
Removes the value associated with the specified key from the context. |
void |
setInputEncoding(String inputEncoding)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DocumentRendererContext()
Method Detail |
---|
public String getInputEncoding()
public void setInputEncoding(String inputEncoding)
inputEncoding
- new input encoding value when processing files.public Object put(String key, Object value)
key
- The name to key the provided value with.value
- The corresponding value.
public Object get(String key)
key
- The name of the desired value.
public boolean containsKey(Object key)
key
- The key to look for.
public Object[] getKeys()
public Object remove(Object key)
key
- The name of the value to remove.
null
if unmapped.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |