Overview | Package | Class | Tree | Deprecated | Index | Help
| Qizx/Open v0.3
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.xfra.qizxopen.dm
Interface NodeSequence

public interface NodeSequence

Iterator on Nodes.

Nodes are enumerated through nextNode() and currentNode(). The sequence cannot be rewinded, but it can be cloned in its initial state by reborn().

Method Summary
`Node` | `currentNode()` The last node reached (must be preceded by nextNode(), otherwise the result is indefined.)
`boolean` | `nextNode()` Attempts to get the next Node.
`NodeSequence` | `reborn()` New incarnation of this sequence: a clone in initial state.

Method Detail

### nextNode

    public boolean nextNode()

  Attempts to get the next Node. If true is returned, the Node value is available through currentNode().

### currentNode

    public Node currentNode()

  The last node reached (must be preceded by nextNode(), otherwise the result is indefined.)

### reborn

    public NodeSequence reborn()

  New incarnation of this sequence: a clone in initial state.

Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright Xavier FRANC 2003-2004
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD