com.thoughtworks.xstream.io
Class AttributeNameIterator

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

public class AttributeNameIterator
extends Object
implements 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()
           
 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 Iterator

next

public Object next()
Specified by:
next in interface Iterator

remove

public void remove()
Specified by:
remove in interface Iterator


Copyright © 2004-2014 XStream. All Rights Reserved.