Class InvokeTag
java.lang.Object
org.apache.commons.jelly.TagSupport
org.apache.commons.jelly.tags.core.InvokeTag
- All Implemented Interfaces:
Tag,ArgTagParent
A tag which calls a method in an object instantied by core:new
- Version:
- $Revision: 155420 $
- Author:
- Rodney Waldhoff
-
Field Summary
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, parent -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddArgument(Class type, Object value) voidEvaluates this tag after all the tags properties have been initialized.voidsetExceptionVar(String var) Sets the name of a variable that exports the exception thrown by the method's invocation (if any)voidvoidvoidSets the name of the variable exported by this tagMethods 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
-
Constructor Details
-
InvokeTag
public InvokeTag()
-
-
Method Details
-
setVar
Sets the name of the variable exported by this tag -
setExceptionVar
Sets the name of a variable that exports the exception thrown by the method's invocation (if any) -
setMethod
-
setOn
-
addArgument
- Specified by:
addArgumentin interfaceArgTagParent
-
doTag
Description copied from interface:TagEvaluates this tag after all the tags properties have been initialized.- Specified by:
doTagin interfaceTag- Throws:
MissingAttributeExceptionJellyTagException
-