info.magnolia.jcr.predicate
Class NodePropertyNamePredicate

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

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

Predicate filtering nodes based on property name.
Only validate node that have a property with the desired name.


Field Summary
 
Fields inherited from interface org.apache.jackrabbit.commons.predicate.Predicate
FALSE, TRUE
 
Constructor Summary
NodePropertyNamePredicate(String propertyName)
           
 
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

NodePropertyNamePredicate

public NodePropertyNamePredicate(String propertyName)
Method Detail

evaluateTyped

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


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