|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.commons.jelly.TagSupport | +--org.apache.commons.jelly.tags.core.BaseClassLoaderTag | +--org.apache.commons.jelly.tags.core.NewTag
A tag which creates a new object of the given type
Fields inherited from class org.apache.commons.jelly.tags.core.BaseClassLoaderTag |
classLoader, useContextClassLoader |
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
NewTag()
|
Method Summary | |
void |
addArgument(java.lang.Class type,
java.lang.Object value)
|
void |
doTag(XMLOutput output)
Evaluates this tag after all the tags properties have been initialized. |
void |
setClassName(java.lang.String className)
Sets the class name of the object to instantiate |
void |
setVar(java.lang.String var)
Sets the name of the variable exported by this tag |
Methods inherited from class org.apache.commons.jelly.tags.core.BaseClassLoaderTag |
getClassLoader, getUseContextClassLoader, setClassLoader, setUseContextClassLoader |
Methods inherited from class org.apache.commons.jelly.TagSupport |
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NewTag()
Method Detail |
public void setVar(java.lang.String var)
public void setClassName(java.lang.String className)
public void addArgument(java.lang.Class type, java.lang.Object value)
addArgument
in interface ArgTagParent
public void doTag(XMLOutput output) throws MissingAttributeException, JellyTagException
Tag
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |