com.caucho.jstl.el
Class XmlSetTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by com.caucho.jstl.el.XmlSetTag
All Implemented Interfaces:
java.io.Serializable, IterationTag, JspTag, Tag

public class XmlSetTag
extends TagSupport

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
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
XmlSetTag()
           
 
Method Summary
 int doStartTag()
          Process the tag.
static java.lang.Object evalObject(PageContextImpl pageContext, Expr select)
          Returns the value as an object.
 void setScope(java.lang.String scope)
          Sets the scope of the variable to be saved.
 void setSelect(Expr select)
          Sets the JSP-EL expression value.
 void setVar(java.lang.String var)
          Sets the variable to be saved.
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlSetTag

public XmlSetTag()
Method Detail

setSelect

public void setSelect(Expr select)
Sets the JSP-EL expression value.


setVar

public void setVar(java.lang.String var)
Sets the variable to be saved.


setScope

public void setScope(java.lang.String scope)
Sets the scope of the variable to be saved.


doStartTag

public int doStartTag()
               throws JspException
Process the tag.

Specified by:
doStartTag in interface Tag
Overrides:
doStartTag in class TagSupport
Returns:
SKIP_BODY to ignore the body and EVAL_BODY_INCLUDE to evaluate the body.
Throws:
JspException

evalObject

public static java.lang.Object evalObject(PageContextImpl pageContext,
                                          Expr select)
                                   throws XPathException,
                                          JspException
Returns the value as an object.

Throws:
XPathException
JspException