webwork.view.taglib
Class IteratorTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
webwork.view.taglib.WebWorkBodyTagSupport
webwork.view.taglib.IteratorTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
- public class IteratorTag
- extends WebWorkBodyTagSupport
Tag to iterate over an iterable value.
An iterable value can be either of: java.util.Collection, java.util.Iterator,
java.util.Enumeration, java.util.Map, array, XML Node, or XML NodeList
- Version:
- $Revision: 1.9 $
- Author:
- Rickard Öberg (rickard@dreambean.com)
- See Also:
- Serialized Form
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 |
Method Summary |
int |
doAfterBody()
|
int |
doStartTag()
|
void |
setStatus(java.lang.String aName)
Set the name of the status object that is to be exposed. |
void |
setValue(java.lang.String aName)
Set the name of the property whose value is iterable. |
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doEndTag, doInitBody, getBodyContent, getPreviousOut, setBodyContent |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, 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 |
valueAttr
protected java.lang.String valueAttr
statusAttr
protected java.lang.String statusAttr
currentValue
protected java.lang.Object currentValue
iterator
protected java.util.Iterator iterator
status
protected IteratorStatus status
statusState
protected IteratorStatus.StatusState statusState
statusName
protected java.lang.String statusName
oldStatus
protected java.lang.Object oldStatus
IteratorTag
public IteratorTag()
setValue
public void setValue(java.lang.String aName)
- Set the name of the property whose value is iterable.
- Parameters:
aName
-
setStatus
public void setStatus(java.lang.String aName)
- Set the name of the status object that is to be exposed.
- Parameters:
aName
-
doStartTag
public int doStartTag()
doAfterBody
public int doAfterBody()
throws javax.servlet.jsp.JspException
- Throws:
javax.servlet.jsp.JspException
Copyright © 2001-2003 WebWork All Rights Reserved.