org.jaxen.dom
Class DocumentNavigator.AttributeIterator

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

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

An iterator over an attribute list.


Field Summary
private  int lastAttribute
           
private  org.w3c.dom.NamedNodeMap map
           
private  int pos
           
 
Constructor Summary
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

map

private org.w3c.dom.NamedNodeMap map

pos

private int pos

lastAttribute

private int lastAttribute
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

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