public class OMNavigator extends Object
Modifier and Type | Field and Description |
---|---|
protected OMSerializable |
node
Field node
|
Constructor and Description |
---|
OMNavigator()
Constructor OMNavigator.
|
OMNavigator(OMSerializable node)
Constructor OMNavigator.
|
Modifier and Type | Method and Description |
---|---|
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.
|
protected OMSerializable node
public OMNavigator()
public OMNavigator(OMSerializable node)
node
- 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()
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.