COSMOS ${releaseVersion} resource-modeling Project
Internal API Specification

org.eclipse.cosmos.rm.repository.internal.application.impl
Class NodeIterator

java.lang.Object
  extended by org.eclipse.cosmos.rm.repository.internal.application.impl.NodeIterator
All Implemented Interfaces:
java.util.Iterator

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

A node iterator is used to traverse through a set of child nodes with a specific name


Constructor Summary
NodeIterator(org.w3c.dom.Node parent, java.lang.String uri, java.lang.String localName)
          The 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
 

Constructor Detail

NodeIterator

public NodeIterator(org.w3c.dom.Node parent,
                    java.lang.String uri,
                    java.lang.String localName)
The constructor

Parameters:
parent - The parent node
uri - The name space URI
localName - The local name
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()

COSMOS ${releaseVersion} resource-modeling Project
Internal API Specification