electric.xml.jaxen
Class AttributesIterator

java.lang.Object
  extended byelectric.xml.jaxen.AttributesIterator
All Implemented Interfaces:
java.util.Iterator, IXMLConstants
Direct Known Subclasses:
NamespaceIterator

public class AttributesIterator
extends java.lang.Object
implements java.util.Iterator, IXMLConstants

AttributesIterator

Author:
webMethods

Field Summary
 
Fields inherited from interface electric.xml.IXMLConstants
ATTLIST_START, ATTLIST_STOP, CDATA, CDATA_START, CDATA_STOP, CLOSE_TAG, COLON, COMMENT_START, COMMENT_STOP, DOCTYPE_START, DOCTYPE_STOP, ELEMENTDECL_START, ELEMENTDECL_STOP, ENCODING, ENTITYDECL_START, ENTITYDECL_STOP, ID, ID_CASE, INSTRUCTION_START, INSTRUCTION_STOP, NEGATIVE_INFINITY, NOT_A_NUMBER, NOTATIONDECL_START, NOTATIONDECL_STOP, NULL, OPEN_TAG, POSITIVE_INFINITY, PUBLIC, SPECIALS, STANDALONE, SUBSTITUTES, SYSTEM, UNDEFINED, VERSION, XML, XML_NAMESPACE, XMLDECL_START, XMLDECL_STOP, XMLNS, XMLNS_NAMESPACE
 
Constructor Summary
AttributesIterator(Attributes attributes)
           
 
Method Summary
protected  void findNext()
           
 boolean hasNext()
           
 java.lang.Object next()
           
 void remove()
           
protected  boolean validNode(Attribute attribute)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributesIterator

public AttributesIterator(Attributes attributes)
Parameters:
attributes -
Method Detail

hasNext

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

next

public java.lang.Object next()
                      throws java.util.NoSuchElementException
Specified by:
next in interface java.util.Iterator
Throws:
java.util.NoSuchElementException

findNext

protected void findNext()

validNode

protected boolean validNode(Attribute attribute)
Parameters:
attribute -

remove

public void remove()
            throws java.lang.UnsupportedOperationException
Specified by:
remove in interface java.util.Iterator
Throws:
java.lang.UnsupportedOperationException


copyright© 2001-2004 by webMethods All Rights Reserved.