org.apache.taglibs.standard.tag.el.core
Class ForEachTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.jstl.core.LoopTagSupport
org.apache.taglibs.standard.tag.common.core.ForEachSupport
org.apache.taglibs.standard.tag.el.core.ForEachTag
- All Implemented Interfaces:
- Serializable, LoopTag, IterationTag, JspTag, Tag, TryCatchFinally
public class ForEachTag
- extends ForEachSupport
- implements LoopTag, IterationTag
A handler for <forEach> that accepts attributes as Strings
and evaluates them as expressions at runtime.
- Author:
- Shawn Bayern
- See Also:
- Serialized Form
Methods inherited from class org.apache.taglibs.standard.tag.common.core.ForEachSupport |
hasNext, next, prepare, supportedTypeForEachIterator, toForEachIterator, toForEachIterator, toForEachIterator, toForEachIterator, toForEachIterator, toForEachIterator, toForEachIterator, toForEachIterator, toForEachIterator, toForEachIterator, toForEachIterator, toForEachIterator, toForEachIterator, toForEachIterator, toForEachIterator |
Methods inherited from class javax.servlet.jsp.jstl.core.LoopTagSupport |
doAfterBody, doCatch, doFinally, getCurrent, getDelims, getLoopStatus, setVar, setVarStatus, validateBegin, validateEnd, validateStep |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doEndTag, 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 |
ForEachTag
public ForEachTag()
doStartTag
public int doStartTag()
throws JspException
- Description copied from class:
LoopTagSupport
- Begins iterating by processing the first item.
- Specified by:
doStartTag
in interface Tag
- Overrides:
doStartTag
in class LoopTagSupport
- Returns:
- SKIP_BODY
- Throws:
JspException
- if an error occurs while processing this tag- See Also:
Tag.doStartTag()
release
public void release()
- Description copied from class:
LoopTagSupport
- Releases any resources this LoopTagSupport may have (or inherit).
- Specified by:
release
in interface Tag
- Overrides:
release
in class ForEachSupport
- See Also:
Tag.release()
setBegin
public void setBegin(String begin_)
setEnd
public void setEnd(String end_)
setStep
public void setStep(String step_)
setItems
public void setItems(String items_)
Copyright © 2008 Mort Bay Consulting. All Rights Reserved.