|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.jelly.JellyContext
net.sf.jelly.apt.APTJellyContext
public class APTJellyContext
A jelly context with an AnnotationProcessorEnvironment
.
Field Summary |
---|
Fields inherited from class org.apache.commons.jelly.JellyContext |
---|
classLoader, useContextClassLoader |
Constructor Summary | |
---|---|
|
APTJellyContext(com.sun.mirror.apt.AnnotationProcessorEnvironment env)
|
protected |
APTJellyContext(com.sun.mirror.apt.AnnotationProcessorEnvironment env,
org.apache.commons.jelly.JellyContext parent)
|
Method Summary | |
---|---|
protected org.apache.commons.jelly.JellyContext |
createChildContext()
|
com.sun.mirror.apt.AnnotationProcessorEnvironment |
getAnnotationProcessorEnvironment()
|
void |
setVariable(java.lang.String name,
java.lang.Object value)
If value is a Declaration or TypeMirror , decorate
it before setting it in the context. |
Methods inherited from class org.apache.commons.jelly.JellyContext |
---|
clear, clearVariables, compileScript, compileScript, compileScript, createRelativeURL, createXMLParser, findVariable, getClassLoader, getCurrentURL, getJellyContextURL, getJellyContextURL, getParent, getResource, getResourceAsStream, getRootURL, getScope, getTagLibrary, getUseContextClassLoader, getVariable, getVariable, getVariableNames, getVariables, getXMLParser, isExport, isExportLibraries, isInherit, isTagLibraryRegistered, newJellyContext, newJellyContext, registerTagLibrary, registerTagLibrary, removeVariable, removeVariable, runScript, runScript, runScript, runScript, runScript, runScript, runScript, runScript, setClassLoader, setCurrentURL, setExport, setExportLibraries, setInherit, setParent, setRootURL, setUseContextClassLoader, setVariable, setVariables |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.jelly.apt.TemplateModel |
---|
getVariable |
Constructor Detail |
---|
public APTJellyContext(com.sun.mirror.apt.AnnotationProcessorEnvironment env)
protected APTJellyContext(com.sun.mirror.apt.AnnotationProcessorEnvironment env, org.apache.commons.jelly.JellyContext parent)
Method Detail |
---|
public com.sun.mirror.apt.AnnotationProcessorEnvironment getAnnotationProcessorEnvironment()
protected org.apache.commons.jelly.JellyContext createChildContext()
createChildContext
in class org.apache.commons.jelly.JellyContext
public void setVariable(java.lang.String name, java.lang.Object value)
value
is a Declaration
or TypeMirror
, decorate
it before setting it in the context.
setVariable
in interface TemplateModel
setVariable
in class org.apache.commons.jelly.JellyContext
name
- The name of the variable.value
- The value of the variable.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |