Package org.apache.commons.jxpath.ri.model

# Interface NodeIterator

All Known Implementing Classes:
  `BeanAttributeIterator`, `CollectionAttributeNodeIterator`, `CollectionChildNodeIterator`, `CollectionNodeIterator`, `DOMAttributeIterator`, `DOMNamespaceIterator`, `DOMNodeIterator`, `DynamicAttributeIterator`, `DynamicPropertyIterator`, `JDOMAttributeIterator`, `JDOMNamespaceIterator`, `JDOMNodeIterator`, `PropertyIterator`

public interface NodeIterator
Definition for an iterator for all kinds of Nodes.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `NodePointer`
  `getNodePointer()`
  Gets the NodePointer at the current position.
  `int`
  `getPosition()`
  Gets the current iterator position.
  `boolean`
  `setPosition(int position)`
  Sets the new current position.

- ## Method Details

  - ### getNodePointer

    NodePointer getNodePointer()
    Gets the NodePointer at the current position.
    Returns:
      NodePointer

  - ### getPosition

    int getPosition()
    Gets the current iterator position.
    Returns:
      int position

  - ### setPosition

    boolean setPosition(int position)
    Sets the new current position.
    Parameters:
      `position` - the position to set
    Returns:
      `true` if there is a node at `position`.