|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.llnl.babel.xml.ElementIterator
public class ElementIterator
This iterator will enumerate all of the direct children elements of the
parent element with the specified name. The remove
method
is not supported.
Constructor Summary | |
---|---|
ElementIterator(org.w3c.dom.Element parent,
java.lang.String name)
Create an iterator that will enumerate the children elements of the parent with the specified name. |
Method Summary | |
---|---|
boolean |
hasNext()
Return true if there is a next matching element and false otherwise. |
java.lang.Object |
next()
Return the current element or null if there are no more matching elements. |
void |
remove()
The remove method is not supported and will throw
an unsupported operation exception. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ElementIterator(org.w3c.dom.Element parent, java.lang.String name)
Method Detail |
---|
public boolean hasNext()
hasNext
in interface java.util.Iterator
public java.lang.Object next()
next
in interface java.util.Iterator
public void remove()
remove
method is not supported and will throw
an unsupported operation exception.
remove
in interface java.util.Iterator
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |