Class NodeLabelMappingImpl_RegexMatchToURIs

java.lang.Object
se.liu.ida.hefquin.engine.wrappers.lpg.conf.impl.NodeLabelMappingImpl_AllToURIs
se.liu.ida.hefquin.engine.wrappers.lpg.conf.impl.NodeLabelMappingImpl_RegexMatchToURIs
All Implemented Interfaces:
NodeLabelMapping

public class NodeLabelMappingImpl_RegexMatchToURIs extends NodeLabelMappingImpl_AllToURIs
  • Field Details

    • regex

      protected final String regex
  • Constructor Details

    • NodeLabelMappingImpl_RegexMatchToURIs

      public NodeLabelMappingImpl_RegexMatchToURIs(String regex, String NSNODELABEL)
  • Method Details

    • map

      public org.apache.jena.graph.Node map(String label)
      Description copied from interface: NodeLabelMapping
      Returns a URI or a literal nodeLabel (in the form of a Jena Node object) for the given String. It applies this nodeLabel mapping to the given String.
      Specified by:
      map in interface NodeLabelMapping
      Overrides:
      map in class NodeLabelMappingImpl_AllToURIs