Class EnhNodeFilter.HasType

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

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

    • HasType

      public HasType(org.apache.jena.rdf.model.Resource type)
  • Method Details

    • test

      public boolean test(org.apache.jena.graph.Node node, org.apache.jena.enhanced.EnhGraph eg)
      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:
      node - Node, not null
      eg - EnhGraph, not null
      Returns:
      boolean
    • toString

      public String toString()
      Overrides:
      toString in class Object