org.chwf.taglib.jutil
Class SetTag
java.lang.Object
|
+--javax.servlet.jsp.tagext.TagSupport
|
+--org.chwf.taglib.base.LifeCycleTagSupport
|
+--org.chwf.taglib.base.ObjectTagSupport
|
+--org.chwf.taglib.jutil.SetTag
- All Implemented Interfaces:
- Parameterized, java.io.Serializable, javax.servlet.jsp.tagext.Tag
- public class SetTag
- extends ObjectTagSupport
Tag handler for the <set>
tag.
- Author:
- Paul Strack
- See Also:
- Serialized Form
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Method Summary |
int |
doStart()
Stores the object property in the specified variable. |
void |
setEl(java.lang.String el)
Calls superclass method. |
void |
setObject(java.lang.String objectName)
Calls superclass method. |
void |
setProperty(java.lang.String property)
Calls superclass method. |
void |
setVar(java.lang.String var)
Calls superclass method. |
Methods inherited from class org.chwf.taglib.base.LifeCycleTagSupport |
addAttribute, addParameter, doEnd, doEndTag, doStartTag, getAttribute, getAttributeNames, getParameter, getParameterNames, init, printAttributes |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
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 |
SetTag
public SetTag()
setVar
public void setVar(java.lang.String var)
- Calls superclass method. Is present here because of a bug in some servlet
engines that requires tag attibute setters to be defined in the tag class
itself.
- Overrides:
setVar
in class ObjectTagSupport
- Parameters:
var
- The object name.
setObject
public void setObject(java.lang.String objectName)
throws javax.servlet.jsp.JspException
- Calls superclass method. Is present here because of a bug in some servlet
engines that requires tag attibute setters to be defined in the tag class
itself.
- Overrides:
setObject
in class ObjectTagSupport
- Parameters:
objectName
- The object name.- Throws:
javax.servlet.jsp.JspException
- For errors.
setProperty
public void setProperty(java.lang.String property)
throws javax.servlet.jsp.JspException
- Calls superclass method. Is present here because of a bug in some servlet
engines that requires tag attibute setters to be defined in the tag class
itself.
- Overrides:
setProperty
in class ObjectTagSupport
- Parameters:
property
- The property name.- Throws:
javax.servlet.jsp.JspException
- For errors.
setEl
public void setEl(java.lang.String el)
- Calls superclass method. Is present here because of a bug in some servlet
engines that requires tag attibute setters to be defined in the tag class
itself.
- Overrides:
setEl
in class ObjectTagSupport
- Parameters:
el
- The JSTL Expression Language statement.
doStart
public int doStart()
throws javax.servlet.jsp.JspException
- Stores the object property in the specified variable.
- Overrides:
doStart
in class LifeCycleTagSupport
- Returns:
- SKIP_BODY
- Throws:
javax.servlet.jsp.JspException
- If the owner object does not exist.
Copyright © 2002-2004, Paul Strack. All Rights Reserved.