public abstract class SetSupport extends BodyTagSupport
Support for handlers of the <set> tag.
bodyContent
id, pageContext
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
EVAL_BODY_AGAIN
EVAL_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, setBodyContent
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getParent, setPageContext, setParent
protected SetSupport()
public void release()
BodyTagSupport
release
in interface Tag
release
in class BodyTagSupport
Tag.release()
public int doEndTag() throws JspException
BodyTagSupport
doEndTag
in interface Tag
doEndTag
in class BodyTagSupport
JspException
- 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 © 2017 JBoss by Red Hat. All rights reserved.