Class EnhNodeFilter.HasPredicate

java.lang.Object
org.apache.jena.ontapi.common.EnhNodeFilter.HasPredicate
All Implemented Interfaces:
EnhNodeFilter
Enclosing interface:
EnhNodeFilter

public static class EnhNodeFilter.HasPredicate extends Object implements EnhNodeFilter
  • Constructor Details

    • HasPredicate

      public HasPredicate(org.apache.jena.rdf.model.Property predicate)
  • Method Details

    • test

      public boolean test(org.apache.jena.graph.Node n, org.apache.jena.enhanced.EnhGraph g)
      Description copied from interface: EnhNodeFilter
      Tests if the given node suits the encapsulated conditions in bounds of the specified graph.
      Specified by:
      test in interface EnhNodeFilter
      Parameters:
      n - Node, not null
      g - EnhGraph, not null
      Returns:
      boolean
    • toString

      public String toString()
      Overrides:
      toString in class Object