info.magnolia.jcr.predicate
Class AbstractPredicate<T>

java.lang.Object
  extended by info.magnolia.jcr.predicate.AbstractPredicate<T>
Type Parameters:
T - type of objects to be evaluated
All Implemented Interfaces:
org.apache.jackrabbit.commons.predicate.Predicate
Direct Known Subclasses:
ConfiguredInheritance.AllComponentsAndResourcesPredicate, ConfiguredInheritance.FilteredComponentInheritancePredicate, ConfiguredInheritance.InheritNothingInheritancePredicate, DuplicateNodePredicate, JCRMgnlPropertyHidingPredicate, JCRPropertyHidingPredicate, NodeTypeParentPredicate, NodeTypePredicate, RuleBasedNodePredicate

public abstract class AbstractPredicate<T>
extends Object
implements org.apache.jackrabbit.commons.predicate.Predicate

Superclass for Predicates. Introduces generics not yet available in jackrabbit-commons.

Version:
$Id$

Field Summary
 
Fields inherited from interface org.apache.jackrabbit.commons.predicate.Predicate
FALSE, TRUE
 
Constructor Summary
AbstractPredicate()
           
 
Method Summary
 boolean evaluate(Object object)
           
abstract  boolean evaluateTyped(T t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractPredicate

public AbstractPredicate()
Method Detail

evaluate

public boolean evaluate(Object object)
Specified by:
evaluate in interface org.apache.jackrabbit.commons.predicate.Predicate

evaluateTyped

public abstract boolean evaluateTyped(T t)


Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.