com.opencms.flex.jsp
Class CmsJspTagParam

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--javax.servlet.jsp.tagext.BodyTagSupport
              |
              +--com.opencms.flex.jsp.CmsJspTagParam
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, Serializable, javax.servlet.jsp.tagext.Tag

public class CmsJspTagParam
extends javax.servlet.jsp.tagext.BodyTagSupport

A handler for <param> that accepts attributes as Strings and evaluates them as expressions at runtime.

Author:
Shawn Bayern
See Also:
Serialized Form

Field Summary
protected  boolean encode
          There used to be an 'encode' attribute; I've left this as a vestige in case custom subclasses want to use our functionality but NOT encode parameters.
protected  String name
           
protected  String value
           
 
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
CmsJspTagParam()
           
 
Method Summary
 int doEndTag()
           
 void release()
           
 void setName(String name)
           
 void setValue(String value)
           
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, doStartTag, getBodyContent, getPreviousOut, 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
 

Field Detail

name

protected String name

value

protected String value

encode

protected boolean encode
There used to be an 'encode' attribute; I've left this as a vestige in case custom subclasses want to use our functionality but NOT encode parameters.

Constructor Detail

CmsJspTagParam

public CmsJspTagParam()
Method Detail

setName

public void setName(String name)
             throws javax.servlet.jsp.JspTagException
javax.servlet.jsp.JspTagException

setValue

public void setValue(String value)
              throws javax.servlet.jsp.JspTagException
javax.servlet.jsp.JspTagException

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspException

release

public void release()
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class javax.servlet.jsp.tagext.BodyTagSupport