@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(Node node)
Evaluates this predicate on the given node.
|
evaluate
public boolean evaluate(Node node) throws RepositoryException
evaluate
in class AbstractNodePredicate
node
- the nodetrue
if node is an nt:hierarchyNode.RepositoryException
- if an error during evaluation occursCopyright © 2010 - 2020 Adobe. All Rights Reserved