This project has retired. For details please refer to its
Attic page .
ForEachTag (Cocoon API 2.1.12-dev [March 20 2012])
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: Poolable , Recyclable , Component , LogEnabled , Serviceable , LoopTag , IterationTag , 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.html 1304258 2012-03-23 10:09:27Z ilgrosso $
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 class: TagSupport
Process the start tag for this instance.
The doStartTag method assumes that pageContext and
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
Returns: EVAL_BODY or SKIP_BODY.
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-2010 The Apache Software Foundation. All Rights Reserved.