@Service(value=Predicate.class) @Properties(value=@Property(name="predicate.name",value="hierarchy")) public class IsHierarchyNodePredicate extends AbstractNodePredicate implements Predicate
| Constructor and Description |
|---|
IsHierarchyNodePredicate() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate(javax.jcr.Node node)
Evaluates this predicate on the given node.
|
evaluatepublic boolean evaluate(javax.jcr.Node node)
throws javax.jcr.RepositoryException
evaluate in class AbstractNodePredicatenode - the nodetrue if node is an nt:hierarchyNode.javax.jcr.RepositoryException - if an error during evaluation occursCopyright © 2010 - 2025 Adobe. All Rights Reserved