|
||||||||||
| 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.odfdom.incubator.search.TextStyleNavigation
org.odftoolkit.simple.common.navigation.TextStyleNavigation in Simple API.
public class TextStyleNavigation
A derived Navigation class used for navigate the mText content it is used to search the document and find the matched style properties and would return TextSelection instance
| Constructor Summary | |
|---|---|
TextStyleNavigation(Map<OdfStyleProperty,String> props,
OdfTextDocument doc)
Deprecated. Construct TextStyleNavigation with style properties condition and navigation scope |
|
| Method Summary | |
|---|---|
Selection |
getCurrentItem()
Deprecated. get the current Selection result |
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) |
boolean |
match(Node element)
Deprecated. check if the element has the specified style properties |
| Methods inherited from class org.odftoolkit.odfdom.incubator.search.Navigation |
|---|
getNextMatchElement, getNextMatchElementInTree |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TextStyleNavigation(Map<OdfStyleProperty,String> props,
OdfTextDocument doc)
props - the matched style properties conditionsdoc - the navigation search scope| Method Detail |
|---|
public Selection getCurrentItem()
Navigation
getCurrentItem in class Navigationpublic boolean hasNext()
Navigation
hasNext in class Navigationpublic boolean match(Node element)
match in class Navigationelement - navigate this element
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||