public abstract class AbstractNodePredicate extends Object implements Predicate
| Constructor and Description |
|---|
AbstractNodePredicate() |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
evaluate(Node node)
Evaluates this predicate on the given node.
|
boolean |
evaluate(Object o) |
public boolean evaluate(Object o)
evaluate in interface Predicatetrue if o is a JCR Node or a Resource that can be
adapted to a JCR Node and the subsequent call to evaluate(Node)
returns true; false otherwise.public abstract boolean evaluate(Node node) throws RepositoryException
node - the nodetrue if this node satisfies this predicateRepositoryException - if an error during evaluation occursCopyright © 2010 - 2020 Adobe. All Rights Reserved