@Service(value=Predicate.class) @Properties(value=@Property(name="predicate.name",value="page")) public class IsPageNodePredicate extends AbstractNodePredicate implements Predicate
| Constructor and Description |
|---|
IsPageNodePredicate() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate(Node node)
Evaluates this predicate on the given node.
|
evaluatepublic boolean evaluate(Node node) throws RepositoryException
evaluate in class AbstractNodePredicatenode - the nodetrue if node is an nt:folder containing templates or cq:Template node.RepositoryException - if an error during evaluation occursCopyright © 2010 - 2023 Adobe. All Rights Reserved