|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sk.uniba.euromath.document.ContentNodesIterator
@Deprecated public final class ContentNodesIterator
Iterates over the content nodes (comment, pi, text and element nodes). Goes through entity reference nodes. Iterator does not iterate through contents of other elements. Class is not intended to be subclassed nor instantiated by clients.
Field Summary | |
---|---|
Node |
node
Deprecated. The node where the iteration shall occur. |
Constructor Summary | |
---|---|
ContentNodesIterator(Node node)
Deprecated. Constructs the instance. |
Method Summary | |
---|---|
boolean |
hasNext()
Deprecated. |
void |
moveToNextIdNode()
Deprecated. Skips all nodes belonging to same ID-level node as node returned by the last call to next() function. |
Node |
next()
Deprecated. |
void |
remove()
Deprecated. |
void |
setNext(Node node)
Deprecated. Sets the node that shall be returned by the next call to the next() function. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final Node node
Constructor Detail |
---|
public ContentNodesIterator(Node node)
node
- children of the node are to be iteratedMethod Detail |
---|
public boolean hasNext()
hasNext
in interface Iterator<Node>
public Node next()
next
in interface Iterator<Node>
public void remove()
remove
in interface Iterator<Node>
public void moveToNextIdNode()
next()
function. Next next()
function call shall return node from next ID-level node.
public void setNext(Node node)
next()
function.
node
- the node to set. If null
then the iterator had
walked over last item and next()
call shall fail
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |