|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axiom.om.impl.OMNavigator
public class OMNavigator
Refer to the test, org.apache.axiom.om.OMNavigatorTest, to find out how to use features like isNavigable, isComplete and step.
Field Summary | |
---|---|
protected OMSerializable |
node
Field node |
Constructor Summary | |
---|---|
OMNavigator()
Constructor OMNavigator. |
|
OMNavigator(OMSerializable node)
Constructor OMNavigator. |
Method Summary | |
---|---|
OMSerializable |
getNext()
Get the next information item. |
void |
init(OMSerializable node)
Method init. |
boolean |
isCompleted()
Returns the completed status. |
boolean |
isNavigable()
Returns the navigable status. |
OMNode |
next()
Get the next node. |
void |
setDataSourceIsLeaf(boolean value)
Indicate if an OMSourcedElement with a OMDataSource should be considered as an interior element node or as a leaf. |
void |
step()
This is a very special method. |
boolean |
visited()
Method visited. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected OMSerializable node
Constructor Detail |
---|
public OMNavigator()
public OMNavigator(OMSerializable node)
node
- Method Detail |
---|
public void init(OMSerializable node)
node
- public void setDataSourceIsLeaf(boolean value)
value
- booleanpublic OMSerializable getNext()
public OMNode next()
ClassCastException
if an attempt is made to use it on a navigator that was created
from an OMDocument
.
getNext()
public boolean visited()
public void step()
public boolean isNavigable()
public boolean isCompleted()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |