Class IsUnstructuredPredicate

  • All Implemented Interfaces:
    Predicate

    @Service(Predicate.class)
    @Properties(@Property(name="predicate.name",value="unstructured"))
    public class IsUnstructuredPredicate
    extends AbstractNodePredicate
    implements Predicate
    Predicate used to filter nodes of type nt:unstructured.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean evaluate​(javax.jcr.Node node)
      Evaluates this predicate on the given node.
      • Methods inherited from class java.lang.Object

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

      • IsUnstructuredPredicate

        public IsUnstructuredPredicate()
    • Method Detail

      • evaluate

        public boolean evaluate​(javax.jcr.Node node)
                         throws javax.jcr.RepositoryException
        Evaluates this predicate on the given node.
        Specified by:
        evaluate in class AbstractNodePredicate
        Parameters:
        node - the node
        Returns:
        true if node is or extends nt:unstructured
        Throws:
        javax.jcr.RepositoryException - if an error during evaluation occurs