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:
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 int
doEndTag()
Default processing of the end tag returning EVAL_PAGE.void
release()
Release state.void
setScope(String scope)
Scope for var.void
setVar(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:BodyTagSupport
Release state.- Specified by:
release
in interfaceTag
- Overrides:
release
in classBodyTagSupport
- See Also:
Tag.release()
-
doEndTag
public int doEndTag() throws JspException
Description copied from class:BodyTagSupport
Default processing of the end tag returning EVAL_PAGE.- Specified by:
doEndTag
in interfaceTag
- Overrides:
doEndTag
in classBodyTagSupport
- Returns:
- EVAL_PAGE
- Throws:
JspException
- if an error occurred while processing this tag- See Also:
Tag.doEndTag()
-
setVar
public void setVar(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(String scope)
Scope for var. Values are verified by TLV.- Parameters:
scope
- the variable scope
-
-