org.enhydra.barracuda.core.event.helper
Class AbstractBlockIterator

java.lang.Object
  extended byorg.enhydra.barracuda.core.event.helper.AbstractBlockIterator
All Implemented Interfaces:
BlockIterator

public abstract class AbstractBlockIterator
extends Object
implements BlockIterator

This class provides the abstract implementation of a BlockIterator. Basically, it will


Field Summary
protected  BTemplate templateComp
           
 
Constructor Summary
AbstractBlockIterator()
           
 
Method Summary
abstract  Object getTemplateModels()
           
abstract  boolean loadNext()
           
 Node next(ViewContext vc, Node templateNode)
           
 void postIterate()
           
 void preIterate()
           
 void updateModelInTemplate(TemplateModel model)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.enhydra.barracuda.core.event.helper.BlockIterator
hasNext
 

Field Detail

templateComp

protected BTemplate templateComp
Constructor Detail

AbstractBlockIterator

public AbstractBlockIterator()
Method Detail

updateModelInTemplate

public void updateModelInTemplate(TemplateModel model)
Specified by:
updateModelInTemplate in interface BlockIterator

preIterate

public void preIterate()
Specified by:
preIterate in interface BlockIterator

next

public Node next(ViewContext vc,
                 Node templateNode)
          throws RenderException
Specified by:
next in interface BlockIterator
Throws:
RenderException

loadNext

public abstract boolean loadNext()

getTemplateModels

public abstract Object getTemplateModels()

postIterate

public void postIterate()
Specified by:
postIterate in interface BlockIterator


Copyright © 2003 BarracudaMVC.org All Rights Reserved.