org.odftoolkit.simple.common.navigation.Navigation
in Simple API.public abstract class Navigation extends Object
Constructor and Description |
---|
Navigation()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
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
|
public abstract boolean hasNext()
public abstract Selection getCurrentItem()
public abstract boolean match(Node element)
element
- navigate this elementprotected Node getNextMatchElement(Node startpoint)
startpoint
- navigate from the startpointCopyright © 2008–2018 Apache Software Foundation; Copyright © 2018–2019 The Document Foundation. All rights reserved.