Class DeclaringTypePredicate

java.lang.Object
org.apache.jackrabbit.commons.predicate.DepthPredicate
org.apache.jackrabbit.commons.predicate.DeclaringTypePredicate
All Implemented Interfaces:
Predicate

public class DeclaringTypePredicate extends DepthPredicate
Filter that checks the declared type of an item
  • Constructor Details

    • DeclaringTypePredicate

      public DeclaringTypePredicate(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(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