|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.opencms.jsp.CmsJspTagParam
A handler for <param> that accepts attributes as Strings and evaluates them as expressions at runtime.
Field Summary | |
protected boolean |
m_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 java.lang.String |
m_name
The name of the parameter. |
protected java.lang.String |
m_value
The value of the parameter. |
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()
Public constructor. |
Method Summary | |
int |
doEndTag()
Simply send our name and value to our appropriate ancestor. |
void |
release()
Releases any resources we may have (or inherit). |
void |
setName(java.lang.String name)
Sets the attribute name. |
void |
setValue(java.lang.String value)
Sets the attribute 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 |
protected boolean m_encode
protected java.lang.String m_name
protected java.lang.String m_value
Constructor Detail |
public CmsJspTagParam()
Method Detail |
public int doEndTag() throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
- (never thrown, required by interface)public void release()
public void setName(java.lang.String name)
name
- the name to setpublic void setValue(java.lang.String value)
value
- the name to set
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |