Module org.apache.jena.ontapi
Package org.apache.jena.ontapi.common
Class EnhNodeFilter.HasPredicate
java.lang.Object
org.apache.jena.ontapi.common.EnhNodeFilter.HasPredicate
- All Implemented Interfaces:
EnhNodeFilter
- Enclosing interface:
- EnhNodeFilter
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.jena.ontapi.common.EnhNodeFilter
EnhNodeFilter.HasOneOfType, EnhNodeFilter.HasPredicate, EnhNodeFilter.HasType
-
Field Summary
Fields inherited from interface org.apache.jena.ontapi.common.EnhNodeFilter
ANON, FALSE, TRUE, URI
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.jena.ontapi.common.EnhNodeFilter
accumulate, and, or
-
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 givennode
suits the encapsulated conditions in bounds of the specifiedgraph
.- Specified by:
test
in interfaceEnhNodeFilter
- Parameters:
n
-Node
, notnull
g
-EnhGraph
, notnull
- Returns:
- boolean
-
toString
-