Package org.topbraid.shacl.targets
Class NodeTarget
- java.lang.Object
-
- org.topbraid.shacl.targets.NodeTarget
-
-
Constructor Summary
Constructors Constructor Description NodeTarget(org.apache.jena.rdf.model.RDFNode node)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddTargetNodes(org.apache.jena.query.Dataset dataset, Set<org.apache.jena.rdf.model.RDFNode> results)Adds target nodes to a given result collection.booleancontains(org.apache.jena.query.Dataset dataset, org.apache.jena.rdf.model.RDFNode node)Checks whether a given node is in the target.
-
-
-
Method Detail
-
addTargetNodes
public void addTargetNodes(org.apache.jena.query.Dataset dataset, Set<org.apache.jena.rdf.model.RDFNode> results)Description copied from interface:TargetAdds target nodes to a given result collection.- Specified by:
addTargetNodesin interfaceTarget- Parameters:
dataset- the Dataset with the potential target nodes in the default graphresults- the collection to add the results to
-
contains
public boolean contains(org.apache.jena.query.Dataset dataset, org.apache.jena.rdf.model.RDFNode node)Description copied from interface:TargetChecks whether a given node is in the target.
-
-