|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.jelly.TagSupport
org.apache.commons.jelly.tags.core.InvokeTag
A tag which creates a new object of the given type
Field Summary | |
private java.lang.String |
methodName
the method to invoke |
private java.lang.Object |
onInstance
the object to invoke the method on |
private java.util.List |
paramTypes
|
private java.util.List |
paramValues
|
private java.lang.String |
var
the variable exported |
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
InvokeTag()
|
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 |
setMethod(java.lang.String method)
|
void |
setOn(java.lang.Object instance)
|
void |
setVar(java.lang.String var)
Sets the name of the variable exported by this tag |
Methods inherited from class org.apache.commons.jelly.TagSupport |
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isTrim, setBody, setContext, setParent, setTrim, trimBody |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String var
private java.lang.String methodName
private java.lang.Object onInstance
private java.util.List paramTypes
private java.util.List paramValues
Constructor Detail |
public InvokeTag()
Method Detail |
public void setVar(java.lang.String var)
public void setMethod(java.lang.String method)
public void setOn(java.lang.Object instance)
public void addArgument(java.lang.Class type, java.lang.Object value)
addArgument
in interface ArgTagParent
public void doTag(XMLOutput output) throws MissingAttributeException, JellyTagException
Tag
doTag
in interface Tag
MissingAttributeException
JellyTagException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |