org.jaxen.dom
Class DocumentNavigator.AttributeIterator

java.lang.Object
  extended byorg.jaxen.dom.DocumentNavigator.AttributeIterator
All Implemented Interfaces:
java.util.Iterator
Enclosing class:
DocumentNavigator

class DocumentNavigator.AttributeIterator
extends java.lang.Object
implements java.util.Iterator

An iterator over an attribute list.


Field Summary
private  org.w3c.dom.NamedNodeMap map
           
private  org.w3c.dom.Node parent
           
private  int pos
           
 
Constructor Summary
(package private) DocumentNavigator.AttributeIterator(org.w3c.dom.Node parent)
          Constructor.
 
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
 

Field Detail

parent

private org.w3c.dom.Node parent

map

private org.w3c.dom.NamedNodeMap map

pos

private int pos
Constructor Detail

DocumentNavigator.AttributeIterator

DocumentNavigator.AttributeIterator(org.w3c.dom.Node parent)
Constructor.

Parameters:
parent - The parent DOM element for the attributes.
Method Detail

hasNext

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

next

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

remove

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