fr.opensagres.xdocreport.template.freemarker.internal
Class XDocFreemarkerContext

java.lang.Object
  extended by fr.opensagres.xdocreport.template.freemarker.internal.XDocFreemarkerContext
All Implemented Interfaces:
IContext

public class XDocFreemarkerContext
extends Object
implements IContext

Freemarker context.


Field Summary
static long serialVersionUID
           
 
Constructor Summary
XDocFreemarkerContext()
           
XDocFreemarkerContext(Map<String,Object> contextMap)
           
 
Method Summary
 Object get(String key)
          Get the Java object with the given key which was registered and null otherwise.
 Map<String,Object> getContextMap()
           
 Object put(String key, Object value)
          Register a Java object with the given key.
 void putMap(Map<String,Object> contextMap)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

XDocFreemarkerContext

public XDocFreemarkerContext()

XDocFreemarkerContext

public XDocFreemarkerContext(Map<String,Object> contextMap)
Method Detail

put

public Object put(String key,
                  Object value)
Description copied from interface: IContext
Register a Java object with the given key.

Specified by:
put in interface IContext
value - Java model
Returns:

get

public Object get(String key)
Description copied from interface: IContext
Get the Java object with the given key which was registered and null otherwise.

Specified by:
get in interface IContext
Returns:

putMap

public void putMap(Map<String,Object> contextMap)
Specified by:
putMap in interface IContext

getContextMap

public Map<String,Object> getContextMap()
Specified by:
getContextMap in interface IContext


Copyright © 2013. All rights reserved.