public abstract class SetSupport extends BodyTagSupport
Support for handlers of the <set> tag.
bodyContentid, pageContextEVAL_BODY_BUFFERED, EVAL_BODY_TAGEVAL_BODY_AGAINEVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE| Modifier | Constructor and Description |
|---|---|
protected |
SetSupport()
Constructs a new handler.
|
| Modifier and Type | Method and Description |
|---|---|
int |
doEndTag()
Default processing of the end tag returning EVAL_PAGE.
|
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 ExpressionFactory |
getExpressionFactory() |
protected abstract boolean |
isValueSpecified()
Indicates that the value attribute was specified.
|
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.
|
doAfterBody, doInitBody, doStartTag, getBodyContent, getPreviousOut, setBodyContentfindAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParent, setPageContext, setParentprotected SetSupport()
public void release()
BodyTagSupportrelease in interface Tagrelease in class BodyTagSupportTag.release()public int doEndTag()
throws JspException
BodyTagSupportdoEndTag in interface TagdoEndTag in class BodyTagSupportJspException - if an error occurred while processing this tagTag.doEndTag()protected abstract boolean isValueSpecified()
protected abstract Object evalValue() throws JspException
JspException - if there was a problem evaluating the expressionprotected abstract Object evalTarget() throws JspException
JspException - if there was a problem evaluating the expressionprotected abstract String evalProperty() throws JspException
JspException - if there was a problem evaluating the expressionprotected ExpressionFactory getExpressionFactory()
public void setVar(String var)
var - name of the exported scoped variablepublic void setScope(String scope)
scope - the variable scopeCopyright © 2018 JBoss by Red Hat. All rights reserved.