org.apache.cocoon.taglib.jxpath.core
Class ForEachTag
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.taglib.TagSupport
org.apache.cocoon.taglib.VarTagSupport
org.apache.cocoon.taglib.core.LoopTagSupport
org.apache.cocoon.taglib.core.ForEachSupport
org.apache.cocoon.taglib.jxpath.core.ForEachTag
- All Implemented Interfaces:
- IterationTag, LogEnabled, LoopTag, Poolable, Recyclable, Serviceable, Tag
- public class ForEachTag
- extends ForEachSupport
- implements LoopTag, IterationTag
A handler for <forEach> that accepts attributes as Strings
and evaluates them as expressions at runtime.
Migration from JSTL1.0
- Version:
- CVS $Id: ForEachTag.java 30941 2004-07-29 19:56:58Z vgritsenko $
- Author:
- Volker Schmitt
- See Also:
org.apache.taglibs.standard.tag.el.core.ForEachTag
Methods inherited from class org.apache.cocoon.taglib.core.ForEachSupport |
hasNext, next, prepare, supportedTypeForEachIterator, toForEachIterator, toForEachIterator, toForEachIterator, toForEachIterator, toForEachIterator, toForEachIterator, toForEachIterator, toForEachIterator, toForEachIterator, toForEachIterator, toForEachIterator, toForEachIterator, toForEachIterator, toForEachIterator, toForEachIterator, toForEachIterator |
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(String namespaceURI,
String localName,
String qName,
Attributes atts)
throws SAXException
- Description copied from interface:
Tag
- Process the start tag for this instance.
The doStartTag method assumes that parent have been set.
It also assumes that any properties exposed as
attributes have been set too. When this method is invoked, the body
has not yet been evaluated.
- Specified by:
doStartTag
in interface Tag
- Overrides:
doStartTag
in class LoopTagSupport
- Throws:
SAXException
recycle
public void recycle()
- Specified by:
recycle
in interface Recyclable
- Overrides:
recycle
in class ForEachSupport
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 ? 1999-2005 The Apache Software Foundation. All Rights Reserved.