public abstract class AbstractNodePredicate extends java.lang.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(java.lang.Object o)
Use the specified parameter to perform a test that returns true or false.
|
public boolean evaluate(java.lang.Object o)
evaluate in interface Predicateo - the object to evaluate, should not be changedtrue 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 - 2023 Adobe. All Rights Reserved