CubeTwister 2.0alpha142 2012-02-11

ch.randelshofer.xml
Class XMLPreorderIterator

java.lang.Object
  extended by ch.randelshofer.xml.XMLPreorderIterator
All Implemented Interfaces:
java.util.Iterator

public class XMLPreorderIterator
extends java.lang.Object
implements java.util.Iterator

XMLPreorderIterator.

Version:
2.1 2007-12-25 Fixed ClassCastException.
2.0 2007-11-16 Upgraded to Java 1.4.
1.0 05 February 2005 Created.
Author:
Werner Randelshofer

Constructor Summary
XMLPreorderIterator(nanoxml.XMLElement rootNode)
          Creates a new instance.
 
Method Summary
 boolean hasNext()
           
 java.lang.Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLPreorderIterator

public XMLPreorderIterator(nanoxml.XMLElement rootNode)
Creates a new instance.

Method Detail

hasNext

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

next

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

remove

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

(c) Werner Randelshofer.
All rights reserved.