com.thoughtworks.xstream.io
Class AttributeNameIterator

java.lang.Object
  extended by com.thoughtworks.xstream.io.AttributeNameIterator
All Implemented Interfaces:
java.util.Iterator

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

Provide an iterator over the attribute names of the current node of a reader.

Author:
Joe Walnes

Constructor Summary
AttributeNameIterator(HierarchicalStreamReader reader)
           
 
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

AttributeNameIterator

public AttributeNameIterator(HierarchicalStreamReader reader)
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


Joe Walnes, http://xstream.codehaus.org/