|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.apache.taglibs.standard.tag.common.core.SetSupport
public abstract class SetSupport
Support for handlers of the <set> tag.
Field Summary |
---|
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
---|
bodyContent |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
id, pageContext |
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 |
Constructor Summary | |
---|---|
protected |
SetSupport()
Constructs a new handler. |
Method Summary | |
---|---|
int |
doEndTag()
|
protected abstract String |
evalProperty()
Evaluate the property attribute. |
protected abstract Object |
evalTarget()
Evaluate the target attribute. |
protected abstract Object |
evalValue()
Evaluate the value attribute. |
protected javax.el.ExpressionFactory |
getExpressionFactory()
|
protected abstract boolean |
isValueSpecified()
Indicates that the value attribute was specified. |
void |
release()
|
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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
---|
getParent, setPageContext, setParent |
Constructor Detail |
---|
protected SetSupport()
Method Detail |
---|
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.BodyTagSupport
public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspException
protected abstract boolean isValueSpecified()
protected abstract Object evalValue() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
- if there was a problem evaluating the expressionprotected abstract Object evalTarget() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
- if there was a problem evaluating the expressionprotected abstract String evalProperty() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
- if there was a problem evaluating the expressionprotected javax.el.ExpressionFactory getExpressionFactory()
public void setVar(String var)
var
- name of the exported scoped variablepublic void setScope(String scope)
scope
- the variable scope
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |