public class IsTemplateNodePredicate extends AbstractNodePredicate implements org.apache.commons.collections.Predicate
Constructor and Description |
---|
IsTemplateNodePredicate() |
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(Node node)
Evaluates this predicate on the given node.
|
public boolean evaluate(Node node) throws RepositoryException
evaluate
in interface org.apache.commons.collections.Predicate
evaluate
in class AbstractNodePredicate
node
- the nodetrue
if node is an nt:folder containing templates or cq:Template node.RepositoryException
- if an error during evaluation occurs"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"