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 TypeMethodDescriptionGets the NodePointer at the current position.int
Gets the current iterator position.boolean
setPosition
(int position) Sets the new current position.
-
Method Details
-
getNodePointer
Gets the NodePointer at the current position.- Returns:
- NodePointer
-
getPosition
int getPosition()Gets the current iterator position.- Returns:
- int position
-
setPosition
Sets the new current position.- Parameters:
position
- the position to set- Returns:
true
if there is a node atposition
.
-