|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.odftoolkit.odfdom.incubator.search.Navigation
org.odftoolkit.simple.common.navigation.Navigation in Simple API.
public abstract class Navigation
Abstract class Navigation used to navigate the document and find the matched element by the user defined conditions
| Constructor Summary | |
|---|---|
Navigation()
Deprecated. |
|
| Method Summary | |
|---|---|
abstract Selection |
getCurrentItem()
Deprecated. get the current Selection result |
protected Node |
getNextMatchElement(Node startpoint)
Deprecated. get the next matched element in a whole dom tree |
protected Node |
getNextMatchElementInTree(Node startpoint,
Node root)
Deprecated. get the next matched element in a sub tree |
abstract boolean |
hasNext()
Deprecated. Return true if document still has more matched Selection when traversing the document(In other words return true if getNextMatchElement() would return an element instance rather than return null) |
abstract boolean |
match(Node element)
Deprecated. check if the element match the user defined condition |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Navigation()
| Method Detail |
|---|
public abstract boolean hasNext()
public abstract Selection getCurrentItem()
public abstract boolean match(Node element)
element - navigate this element
protected Node getNextMatchElement(Node startpoint)
startpoint - navigate from the startpoint
protected Node getNextMatchElementInTree(Node startpoint,
Node root)
startpoint - navigate from the startpointroot - the root of the sub tree
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||