Class SetSupport
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- javax.servlet.jsp.tagext.BodyTagSupport
-
- org.apache.taglibs.standard.tag.common.core.SetSupport
-
- All Implemented Interfaces:
java.io.Serializable,BodyTag,IterationTag,JspTag,Tag
- Direct Known Subclasses:
SetTag
public abstract class SetSupport extends BodyTagSupport
Support for handlers of the <set> tag.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
-
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
-
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intdoEndTag()Default processing of the end tag returning EVAL_PAGE.voidrelease()Release state.voidsetScope(java.lang.String scope)Scope for var.voidsetVar(java.lang.String var)Name of the exported scoped variable to hold the value specified in the action.-
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, doStartTag, getBodyContent, getPreviousOut, setBodyContent
-
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
-
-
-
-
Method Detail
-
release
public void release()
Description copied from class:BodyTagSupportRelease state.- Specified by:
releasein interfaceTag- Overrides:
releasein classBodyTagSupport- See Also:
Tag.release()
-
doEndTag
public int doEndTag() throws JspExceptionDescription copied from class:BodyTagSupportDefault processing of the end tag returning EVAL_PAGE.- Specified by:
doEndTagin interfaceTag- Overrides:
doEndTagin classBodyTagSupport- Returns:
- EVAL_PAGE
- Throws:
JspException- if an error occurred while processing this tag- See Also:
Tag.doEndTag()
-
setVar
public void setVar(java.lang.String var)
Name of the exported scoped variable to hold the value specified in the action. The type of the scoped variable is whatever type the value expression evaluates to.- Parameters:
var- name of the exported scoped variable
-
setScope
public void setScope(java.lang.String scope)
Scope for var. Values are verified by TLV.- Parameters:
scope- the variable scope
-
-