public class DOMAttributeIterator extends Object implements NodeIterator
Constructor and Description |
---|
DOMAttributeIterator(NodePointer parent,
QName name)
Create a new DOMAttributeIterator.
|
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 DOMAttributeIterator(NodePointer parent, QName name)
parent
- pointername
- to testpublic 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.