|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.jxpath.ri.model.dom.DOMNamespaceIterator
public class DOMNamespaceIterator
An iterator of namespaces of a DOM Node.
Field Summary | |
---|---|
private java.util.List |
attributes
|
private NodePointer |
parent
|
private int |
position
|
Constructor Summary | |
---|---|
DOMNamespaceIterator(NodePointer parent)
Create a new DOMNamespaceIterator. |
Method Summary | |
---|---|
private void |
collectNamespaces(java.util.List attributes,
org.w3c.dom.Node node)
Collect namespaces from attribute nodes. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private NodePointer parent
private java.util.List attributes
private int position
Constructor Detail |
---|
public DOMNamespaceIterator(NodePointer parent)
parent
- parent pointerMethod Detail |
---|
private void collectNamespaces(java.util.List attributes, org.w3c.dom.Node node)
attributes
- attribute listnode
- target nodepublic 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 set
true
if there is a node at position
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |