|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
com.taggercat.tags.AbstractExpEvalTag
public abstract class AbstractExpEvalTag
This is the super class for tags that evaluate expressions.
ELParser,
Serialized Form
![]() |
![]() |
| Field Summary |
|---|
| 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 | |
|---|---|
AbstractExpEvalTag()
|
|
| Method Summary | |
|---|---|
int |
doEndTag()
Process the end tag. |
int |
doStartTag()
Initialized the expression evaluator to be used for this tag. |
Model |
getModel()
Gets the model object associated with this page's session. |
java.lang.Object |
resolveProperty(java.lang.String name,
com.taggercat.el.ELContext elcontext)
This is the call back method registered with the expression evaluator. |
void |
setScope(java.lang.String scope)
Sets the scope the attribute will be saved under. |
void |
setValue(java.lang.String expression)
Sets the Expression attribute of the Tag. |
void |
setVar(java.lang.String varName)
Sets the attribute name the results will be saved under. |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
|---|
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractExpEvalTag()
| Method Detail |
|---|
public int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspException
public int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspException
public Model getModel()
public java.lang.Object resolveProperty(java.lang.String name,
com.taggercat.el.ELContext elcontext)
throws java.lang.IllegalArgumentException
customer.Name request.orderDate session.user page.isValidThe attribute on the scope variables may have been added with the TCSet, TCOut etc. tags or with any other means.
resolveProperty in interface com.taggercat.el.ELPropertyResolverjava.lang.IllegalArgumentExceptionname - the dot delimited name of the term to
resolve, eg, customer.Nameelcontext - the el context values
public void setScope(java.lang.String scope)
scope - sets the scope attribute of the tag The scope can be one of:
public void setValue(java.lang.String expression)
expression - The expression to be evaluatedpublic void setVar(java.lang.String varName)
varName - the name in the 'var' attribute of the tag
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||