Class NodeMappingImpl_AllToBNodes

java.lang.Object
se.liu.ida.hefquin.engine.wrappers.lpg.conf.impl.NodeMappingImpl_AllToBNodes
All Implemented Interfaces:
NodeMapping

public class NodeMappingImpl_AllToBNodes extends Object implements NodeMapping
  • Constructor Details

    • NodeMappingImpl_AllToBNodes

      public NodeMappingImpl_AllToBNodes()
  • Method Details

    • map

      public org.apache.jena.graph.Node map(LPGNode node)
      Description copied from interface: NodeMapping
      Returns a URI or a blank node (in the form of a Jena Node object) for the given LPG node. It applies this node mapping to the given LPG node
      Specified by:
      map in interface NodeMapping
    • unmap

      public LPGNode unmap(org.apache.jena.graph.Node node)
      Description copied from interface: NodeMapping
      Returns the LPG node that corresponds to the given RDF term. It applies the inverse of this node mapping to the given RDF term (which is assumed to be a blank node or an IRI) in order to obtain the corresponding LPG node.
      Specified by:
      unmap in interface NodeMapping
    • isPossibleResult

      public boolean isPossibleResult(org.apache.jena.graph.Node node)
      Description copied from interface: NodeMapping
      Check if the given RDF term is in the image of this node mapping and, thus, may be one of the RDF terms returned by the NodeMapping.map(LPGNode) function for some LPG node.
      Specified by:
      isPossibleResult in interface NodeMapping