|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.jxpath.ri.model.jdom.JDOMNodeIterator
public class JDOMNodeIterator
An iterator of children of a JDOM Node.
| Constructor Summary | |
|---|---|
JDOMNodeIterator(NodePointer parent,
NodeTest nodeTest,
boolean reverse,
NodePointer startWith)
Create a new JDOMNodeIterator. |
|
| Method Summary | |
|---|---|
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 |
| Constructor Detail |
|---|
public JDOMNodeIterator(NodePointer parent,
NodeTest nodeTest,
boolean reverse,
NodePointer startWith)
parent - pointernodeTest - testreverse - whether to iterate in reversestartWith - starting pointer| Method Detail |
|---|
public NodePointer getNodePointer()
NodeIterator
getNodePointer in interface NodeIteratorpublic int getPosition()
NodeIterator
getPosition in interface NodeIteratorpublic boolean setPosition(int position)
NodeIterator
setPosition in interface NodeIteratorposition - 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 | |||||||||