| 
				
  | 
|||||||||||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||||||||||
java.lang.Objectde.lmu.ifi.dbs.elki.utilities.xml.XMLNodeIterator
public final class XMLNodeIterator
Simple adapter class to iterate over a DOM tree nodes children.
| Field Summary | |
|---|---|
private  Node | 
next
Store the next node  | 
| Constructor Summary | |
|---|---|
XMLNodeIterator(Node first)
Constructor with first element to iterate over.  | 
|
| Method Summary | |
|---|---|
 boolean | 
hasNext()
Check if the next node is defined.  | 
 Iterator<Node> | 
iterator()
Iterable interface adapter - clone.  | 
 Node | 
next()
Return next and advance iterator.  | 
 void | 
remove()
Removal: unsupported operation.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
private Node next
| Constructor Detail | 
|---|
public XMLNodeIterator(Node first)
first - first child of parent node.| Method Detail | 
|---|
public boolean hasNext()
hasNext in interface Iterator<Node>public Node next()
next in interface Iterator<Node>public void remove()
remove in interface Iterator<Node>public Iterator<Node> iterator()
iterator in interface Iterable<Node>
  | 
                
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||