org.polliwog.utils
Class ObjectIterator

java.lang.Object
  extended by org.polliwog.utils.ObjectIterator
All Implemented Interfaces:
java.util.Iterator, PolliwogIterator
Direct Known Subclasses:
JoSQLIterator

public class ObjectIterator
extends java.lang.Object
implements PolliwogIterator


Nested Class Summary
 class ObjectIterator.XMLConstants
           
 
Field Summary
protected  java.util.List objects
           
 
Constructor Summary
ObjectIterator(org.jdom.Element root, VisitorEnvironment ve)
           
 
Method Summary
 boolean hasNext()
           
 void init(VisitorData vd)
           
 java.lang.Object next()
           
 void remove()
           
 void reset()
           
protected  void setObjects(java.util.List objs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

objects

protected java.util.List objects
Constructor Detail

ObjectIterator

public ObjectIterator(org.jdom.Element root,
                      VisitorEnvironment ve)
               throws org.jdom.JDOMException,
                      WeblogException
Throws:
org.jdom.JDOMException
WeblogException
Method Detail

next

public java.lang.Object next()
Specified by:
next in interface java.util.Iterator

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator

reset

public void reset()
Specified by:
reset in interface PolliwogIterator

setObjects

protected void setObjects(java.util.List objs)

init

public void init(VisitorData vd)
          throws WeblogException
Specified by:
init in interface PolliwogIterator
Throws:
WeblogException

remove

public void remove()
Specified by:
remove in interface java.util.Iterator


  Copyright © 2007 Gary Bentley. All Rights Reserved.