Class IsNodePredicate

  • All Implemented Interfaces:
    Predicate

    public class IsNodePredicate
    extends DepthPredicate
    Item filter that checks if an item is a node.
    • Field Summary

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

        FALSE, TRUE
    • Constructor Summary

      Constructors 
      Constructor Description
      IsNodePredicate()
      Default constructor.
      IsNodePredicate​(boolean polarity)
      Creates a new node item filter
      IsNodePredicate​(boolean polarity, int minDepth, int maxDepth)
      Creates a new node item filter.
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • IsNodePredicate

        public IsNodePredicate()
        Default constructor.
      • IsNodePredicate

        public IsNodePredicate​(boolean polarity,
                               int minDepth,
                               int maxDepth)
        Creates a new node item filter.
        Parameters:
        polarity - the polarity of this filter. if true it matches nodes, if false it matches properties.
        minDepth - the minimum depth
        maxDepth - the maximum depth
        See Also:
        DepthPredicate
      • IsNodePredicate

        public IsNodePredicate​(boolean polarity)
        Creates a new node item filter
        Parameters:
        polarity - the polarity of this filter. if true it matches nodes, if false it matches properties.