org.apache.cocoon.template.instruction
Class ForEach

java.lang.Object
  extended byorg.apache.cocoon.template.script.event.Event
      extended byorg.apache.cocoon.template.instruction.Instruction
          extended byorg.apache.cocoon.template.instruction.ForEach

public class ForEach
extends Instruction

Version:
SVN $Id: ForEach.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Field Summary
protected static Iterator NULL_ITER
           
 
Fields inherited from class org.apache.cocoon.template.instruction.Instruction
startElement
 
Fields inherited from class org.apache.cocoon.template.script.event.Event
location, next, NULL_LOCATOR
 
Constructor Summary
ForEach(ParsingContext parsingContext, StartElement raw, Attributes attrs, Stack stack)
           
 
Method Summary
 Event execute(org.apache.cocoon.xml.XMLConsumer consumer, org.apache.cocoon.el.objectmodel.ObjectModel objectModel, ExecutionContext executionContext, MacroContext macroContext, org.apache.cocoon.xml.util.NamespacesTable namespaces, Event startEvent, Event endEvent)
           
 
Methods inherited from class org.apache.cocoon.template.instruction.Instruction
endNotify, getEndInstruction, getStartElement, setEndInstruction
 
Methods inherited from class org.apache.cocoon.template.script.event.Event
getLocation, getNext, locationString, setNext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL_ITER

protected static final Iterator NULL_ITER
Constructor Detail

ForEach

public ForEach(ParsingContext parsingContext,
               StartElement raw,
               Attributes attrs,
               Stack stack)
        throws SAXException
Method Detail

execute

public Event execute(org.apache.cocoon.xml.XMLConsumer consumer,
                     org.apache.cocoon.el.objectmodel.ObjectModel objectModel,
                     ExecutionContext executionContext,
                     MacroContext macroContext,
                     org.apache.cocoon.xml.util.NamespacesTable namespaces,
                     Event startEvent,
                     Event endEvent)
              throws SAXException
Overrides:
execute in class Event
Throws:
SAXException


Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.