Class DeclaringTypePredicate

  • All Implemented Interfaces:
    Predicate

    public class DeclaringTypePredicate
    extends DepthPredicate
    Filter that checks the declared type of an item
    • Field Summary

      • Fields inherited from interface org.apache.jackrabbit.commons.predicate.Predicate

        FALSE, TRUE
    • Constructor Summary

      Constructors 
      Constructor Description
      DeclaringTypePredicate​(java.lang.String nodeType, boolean propsOnly)
      Creates a new filter for the given nodetype and flags
      DeclaringTypePredicate​(java.lang.String nodeType, boolean propsOnly, int minDepth, int maxDepth)
      Creates a new filter for the given nodetype and flags.
    • Method Summary

      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DeclaringTypePredicate

        public DeclaringTypePredicate​(java.lang.String nodeType,
                                      boolean propsOnly,
                                      int minDepth,
                                      int maxDepth)
        Creates a new filter for the given nodetype and flags.
        Parameters:
        nodeType - the nodetype name to check
        propsOnly - if true only properties are checked
        minDepth - the minimal depth
        maxDepth - the maximal depth
      • DeclaringTypePredicate

        public DeclaringTypePredicate​(java.lang.String nodeType,
                                      boolean propsOnly)
        Creates a new filter for the given nodetype and flags
        Parameters:
        nodeType - the nodetype name to check
        propsOnly - if true only properties are checked