com.caucho.jstl.rt
Class XmlParamTag

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

public class XmlParamTag
extends BodyTagSupport

Looks up an i18n message from a bundle and prints it.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
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
XmlParamTag()
           
 
Method Summary
 int doEndTag()
          Process the tag.
 int doStartTag()
          Process the tag.
 void setName(java.lang.String name)
          Sets the name
 void setValue(java.lang.Object value)
          Sets the value
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Constructor Detail

XmlParamTag

public XmlParamTag()
Method Detail

setName

public void setName(java.lang.String name)
Sets the name

Parameters:
name - the JSP-EL expression for the name.

setValue

public void setValue(java.lang.Object value)
Sets the value

Parameters:
value - the JSP-EL expression for the value.

doStartTag

public int doStartTag()
               throws JspException
Process the tag.

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

doEndTag

public int doEndTag()
             throws JspException
Process the tag.

Specified by:
doEndTag in interface Tag
Overrides:
doEndTag in class TagSupport
Returns:
EVAL_PAGE to continue the page SKIP_PAGE to stop.
Throws:
JspException