Class PropertyNameMappingImpl_AllToURIs
java.lang.Object
se.liu.ida.hefquin.engine.wrappers.lpg.conf.impl.PropertyNameMappingImpl_AllToURIs
- All Implemented Interfaces:
PropertyNameMapping
- Direct Known Subclasses:
PropertyNameMappingImpl_RegexMatchToURIs
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isPossibleResult
(org.apache.jena.graph.Node node) Check if the given RDF term is in the image of this property mapping and, thus, may be one of the RDF terms returned by thePropertyNameMapping.map(String)
function for some String.org.apache.jena.graph.Node
Returns the IRI (in the form of a JenaNode
object) that is the result of applying this property name mapping to the given property name.unmap
(org.apache.jena.graph.Node node) Returns the String that corresponds to the given RDF term.
-
Field Details
-
NSPROPERTY
-
-
Constructor Details
-
PropertyNameMappingImpl_AllToURIs
-
-
Method Details
-
map
Description copied from interface:PropertyNameMapping
Returns the IRI (in the form of a JenaNode
object) that is the result of applying this property name mapping to the given property name.- Specified by:
map
in interfacePropertyNameMapping
-
unmap
Description copied from interface:PropertyNameMapping
Returns the String that corresponds to the given RDF term. It applies the inverse of this property mapping to the given RDF term (which is assumed to be an IRI) in order to obtain the corresponding String.- Specified by:
unmap
in interfacePropertyNameMapping
-
isPossibleResult
public boolean isPossibleResult(org.apache.jena.graph.Node node) Description copied from interface:PropertyNameMapping
Check if the given RDF term is in the image of this property mapping and, thus, may be one of the RDF terms returned by thePropertyNameMapping.map(String)
function for some String.- Specified by:
isPossibleResult
in interfacePropertyNameMapping
-