Package com.aspectran.web.support.tags
Class ArgumentTag
- java.lang.Object
-
- jakarta.servlet.jsp.tagext.TagSupport
-
- jakarta.servlet.jsp.tagext.BodyTagSupport
-
- com.aspectran.web.support.tags.ArgumentTag
-
- All Implemented Interfaces:
jakarta.servlet.jsp.tagext.BodyTag,jakarta.servlet.jsp.tagext.IterationTag,jakarta.servlet.jsp.tagext.JspTag,jakarta.servlet.jsp.tagext.Tag,java.io.Serializable
public class ArgumentTag extends jakarta.servlet.jsp.tagext.BodyTagSupportThe<argument>tag is based on the JSTLfmt:paramtag. The purpose is to support arguments inside the message and theme tags.This tag must be nested under an argument aware tag.
Attribute Summary Attribute Required? Runtime Expression? Description value false true The value of the argument. - See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ArgumentTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intdoEndTag()voidrelease()voidsetValue(java.lang.Object value)Set the value of the argument (optional).-
Methods inherited from class jakarta.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, doStartTag, getBodyContent, getPreviousOut, setBodyContent
-
Methods inherited from class jakarta.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
-
-
-
-
Method Detail
-
setValue
public void setValue(java.lang.Object value)
Set the value of the argument (optional). If not set, the tag's body content will get evaluated.- Parameters:
value- the parameter value
-
doEndTag
public int doEndTag() throws jakarta.servlet.jsp.JspException- Specified by:
doEndTagin interfacejakarta.servlet.jsp.tagext.Tag- Overrides:
doEndTagin classjakarta.servlet.jsp.tagext.BodyTagSupport- Throws:
jakarta.servlet.jsp.JspException
-
release
public void release()
- Specified by:
releasein interfacejakarta.servlet.jsp.tagext.Tag- Overrides:
releasein classjakarta.servlet.jsp.tagext.BodyTagSupport
-
-