fr.opensagres.xdocreport.template.velocity.internal
Class XDocVelocityContext
java.lang.Object
org.apache.velocity.context.AbstractContext
org.apache.velocity.VelocityContext
fr.opensagres.xdocreport.template.velocity.internal.XDocVelocityContext
- All Implemented Interfaces:
- IContext, Cloneable, org.apache.velocity.context.Context, org.apache.velocity.context.InternalEventContext
public class XDocVelocityContext
- extends org.apache.velocity.VelocityContext
- implements IContext
Velocity context.
Methods inherited from class org.apache.velocity.VelocityContext |
clone, internalContainsKey, internalGet, internalGetKeys, internalPut, internalRemove |
Methods inherited from class org.apache.velocity.context.AbstractContext |
containsKey, get, getChainedContext, getKeys, remove |
Methods inherited from interface fr.opensagres.xdocreport.template.IContext |
get |
XDocVelocityContext
public XDocVelocityContext()
XDocVelocityContext
public XDocVelocityContext(Map<String,Object> contextMap)
put
public Object put(String key,
Object value)
- Overridden so that the
null
values are accepted.
- Specified by:
put
in interface IContext
- Specified by:
put
in interface org.apache.velocity.context.Context
- Overrides:
put
in class org.apache.velocity.context.AbstractContext
value
- Java model- See Also:
AbstractVelocityContext#put(String,Object)
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
pushCurrentTemplateName
public void pushCurrentTemplateName(String arg0)
popCurrentTemplateName
public void popCurrentTemplateName()
getCurrentTemplateName
public String getCurrentTemplateName()
getTemplateNameStack
public Object[] getTemplateNameStack()
pushCurrentMacroName
public void pushCurrentMacroName(String arg0)
popCurrentMacroName
public void popCurrentMacroName()
getCurrentMacroName
public String getCurrentMacroName()
getCurrentMacroCallDepth
public int getCurrentMacroCallDepth()
getMacroNameStack
public Object[] getMacroNameStack()
icacheGet
public org.apache.velocity.util.introspection.IntrospectionCacheData icacheGet(Object arg0)
icachePut
public void icachePut(Object arg0,
org.apache.velocity.util.introspection.IntrospectionCacheData arg1)
setCurrentResource
public void setCurrentResource(org.apache.velocity.runtime.resource.Resource arg0)
getCurrentResource
public org.apache.velocity.runtime.resource.Resource getCurrentResource()
setMacroLibraries
public void setMacroLibraries(List arg0)
getMacroLibraries
public List getMacroLibraries()
attachEventCartridge
public org.apache.velocity.app.event.EventCartridge attachEventCartridge(org.apache.velocity.app.event.EventCartridge arg0)
- Specified by:
attachEventCartridge
in interface org.apache.velocity.context.InternalEventContext
getEventCartridge
public org.apache.velocity.app.event.EventCartridge getEventCartridge()
- Specified by:
getEventCartridge
in interface org.apache.velocity.context.InternalEventContext
Copyright © 2013. All rights reserved.