info.magnolia.jcr.predicate
Class NodeTypePredicate

java.lang.Object
  extended by info.magnolia.jcr.predicate.AbstractPredicate<javax.jcr.Node>
      extended by info.magnolia.jcr.predicate.NodeTypePredicate
All Implemented Interfaces:
org.apache.jackrabbit.commons.predicate.Predicate

public class NodeTypePredicate
extends AbstractPredicate<javax.jcr.Node>

Predicate filtering based on the primary type of the node.

Version:
$Id$

Field Summary
 
Fields inherited from interface org.apache.jackrabbit.commons.predicate.Predicate
FALSE, TRUE
 
Constructor Summary
NodeTypePredicate(String primaryNodeType)
           
NodeTypePredicate(String primaryNodeType, boolean evaluateSupertypes)
           
 
Method Summary
 boolean evaluateTyped(javax.jcr.Node t)
           
 
Methods inherited from class info.magnolia.jcr.predicate.AbstractPredicate
evaluate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeTypePredicate

public NodeTypePredicate(String primaryNodeType)

NodeTypePredicate

public NodeTypePredicate(String primaryNodeType,
                         boolean evaluateSupertypes)
Method Detail

evaluateTyped

public boolean evaluateTyped(javax.jcr.Node t)
Specified by:
evaluateTyped in class AbstractPredicate<javax.jcr.Node>


Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.