public abstract class SetSupport
extends javax.servlet.jsp.tagext.BodyTagSupport
Support for handlers of the <set> tag.
| Type | Property and Description |
|---|---|
protected abstract String |
eval
Evaluate the property attribute.
|
| Modifier | Constructor and Description |
|---|---|
protected |
SetSupport()
Constructs a new handler.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
doAfterBody, doInitBody, doStartTag, getBodyContent, getPreviousOut, setBodyContentfindAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValuejavax.servlet.jsp.JspException - if there was a problem evaluating the expressionprotected SetSupport()
public void release()
release in interface javax.servlet.jsp.tagext.Tagrelease in class javax.servlet.jsp.tagext.BodyTagSupportpublic int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class javax.servlet.jsp.tagext.BodyTagSupportjavax.servlet.jsp.JspExceptionprotected 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 scopeCopyright © 2001-2014 The Apache Software Foundation. All Rights Reserved.