Class CompositeEdgeLabelMappingImpl
java.lang.Object
se.liu.ida.hefquin.engine.wrappers.lpg.conf.impl.CompositeEdgeLabelMappingImpl
- All Implemented Interfaces:
EdgeLabelMapping
-
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 edgeLabel mapping and, thus, may be one of the RDF terms returned by theEdgeLabelMapping.map(String)
function for some String.org.apache.jena.graph.Node
Returns a URI edge label (in the form of a JenaNode
object) for the given String.unmap
(org.apache.jena.graph.Node node) Returns the String that corresponds to the given RDF term.
-
Field Details
-
edgeLabelMappings
-
-
Constructor Details
-
CompositeEdgeLabelMappingImpl
-
-
Method Details
-
map
Description copied from interface:EdgeLabelMapping
Returns a URI edge label (in the form of a JenaNode
object) for the given String. It applies this edge label mapping to the given String.- Specified by:
map
in interfaceEdgeLabelMapping
-
unmap
Description copied from interface:EdgeLabelMapping
Returns the String that corresponds to the given RDF term. It applies the inverse of this edge Label mapping to the given RDF term (which is assumed to be an IRI) in order to obtain the corresponding String.- Specified by:
unmap
in interfaceEdgeLabelMapping
-
isPossibleResult
public boolean isPossibleResult(org.apache.jena.graph.Node node) Description copied from interface:EdgeLabelMapping
Check if the given RDF term is in the image of this edgeLabel mapping and, thus, may be one of the RDF terms returned by theEdgeLabelMapping.map(String)
function for some String.- Specified by:
isPossibleResult
in interfaceEdgeLabelMapping
-