Recursive node iterator.
More...
Recursive node iterator.
Recursive node iterator
- Author
- Peter Bartoš
Definition at line 30 of file RecursiveNodeIterator.java.
void cz.vutbr.fit.knot.annotations.fragmentUpdater.nodeIterators.RecursiveNodeIterator.init |
( |
Document |
document, |
|
|
XPathExpression |
expr |
|
) |
| throws XPathExpressionException |
Overriden init() method
- Parameters
-
document | document whose nodes will be iterated through |
expr | XPath expression according to which iterating will be provided |
Definition at line 43 of file RecursiveNodeIterator.java.
boolean cz.vutbr.fit.knot.annotations.fragmentUpdater.nodeIterators.RecursiveNodeIterator.isVisited |
( |
Node |
node | ) |
|
|
private |
Getter of node's "visited" flag
- Parameters
-
node | node which flag is to be returned |
- Returns
- true if "visited" flag is set, false if isn't
Definition at line 162 of file RecursiveNodeIterator.java.
boolean cz.vutbr.fit.knot.annotations.fragmentUpdater.nodeIterators.RecursiveNodeIterator.isWhitespaced |
( |
String |
string | ) |
|
|
protected |
Finds out if string is consists of whitespaces
- Parameters
-
string | string to be examined |
- Returns
- true if is whitespace, false if not
Definition at line 181 of file RecursiveNodeIterator.java.
Node cz.vutbr.fit.knot.annotations.fragmentUpdater.nodeIterators.RecursiveNodeIterator.nextNode |
( |
| ) |
|
Method for getting iterator's next node, recursive strategy is used.
- Returns
- iterator's next node
Definition at line 70 of file RecursiveNodeIterator.java.
void cz.vutbr.fit.knot.annotations.fragmentUpdater.nodeIterators.RecursiveNodeIterator.setVisited |
( |
Node |
node | ) |
|
|
private |
String cz.vutbr.fit.knot.annotations.fragmentUpdater.nodeIterators.RecursiveNodeIterator.toString |
( |
| ) |
|
boolean cz.vutbr.fit.knot.annotations.fragmentUpdater.nodeIterators.RecursiveNodeIterator.firstNode |
|
protected |
Node cz.vutbr.fit.knot.annotations.fragmentUpdater.nodeIterators.RecursiveNodeIterator.nextNode |
|
protected |
long cz.vutbr.fit.knot.annotations.fragmentUpdater.nodeIterators.RecursiveNodeIterator.timestamp |
|
protected |
The documentation for this class was generated from the following file: