public class JDOMNamespaceIterator extends Object implements NodeIterator
Constructor and Description |
---|
JDOMNamespaceIterator(NodePointer parent)
Create a new JDOMNamespaceIterator.
|
Modifier and Type | Method and Description |
---|---|
NodePointer |
getNodePointer()
Get the NodePointer at the current position.
|
int |
getPosition()
Get the current iterator position.
|
boolean |
setPosition(int position)
Set the new current position.
|
public JDOMNamespaceIterator(NodePointer parent)
parent
- the parent NodePointer.public NodePointer getNodePointer()
NodeIterator
getNodePointer
in interface NodeIterator
public int getPosition()
NodeIterator
getPosition
in interface NodeIterator
public boolean setPosition(int position)
NodeIterator
setPosition
in interface NodeIterator
position
- the position to settrue
if there is a node at position
.Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.