|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Predicate
A predicate on nodes of a gDoc document tree.
| Method Summary | |
|---|---|
boolean |
matches(Node n)
Indicates whether a node matches a predicate. |
void |
prune(Node n)
Prunes a node of all the descendants that are not required to match the predicate. |
| Method Detail |
|---|
boolean matches(Node n)
n - the node.
true if it does, false otherwise.
void prune(Node n)
throws java.lang.Exception
n - the node.
java.lang.Exception - if the node does not match the predicate.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||