org.openjena.riot.out
Class NodeToLabel

java.lang.Object
  extended by org.openjena.riot.system.MapWithScope<com.hp.hpl.jena.graph.Node,String,com.hp.hpl.jena.graph.Node>
      extended by org.openjena.riot.out.NodeToLabel

public class NodeToLabel
extends MapWithScope<com.hp.hpl.jena.graph.Node,String,com.hp.hpl.jena.graph.Node>

Map nodes to string (usually, blank nodes to labels). See SyntaxLabels.createNodeToLabel() for getting a default setup.


Method Summary
static NodeToLabel createBNodeByIRI()
          Allocation as per internal label
static NodeToLabel createBNodeByLabelAsGiven()
          Allocation as per internal label
static NodeToLabel createBNodeByLabelEncoded()
          Allocation as per internal label, with an encoded safe label.
static NodeToLabel createScopeByDocument()
          Allocation from a single scope; just the label matters.
static NodeToLabel labelByInternal()
           
 
Methods inherited from class org.openjena.riot.system.MapWithScope
clear, create, get
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createScopeByDocument

public static NodeToLabel createScopeByDocument()
Allocation from a single scope; just the label matters.


createBNodeByLabelEncoded

public static NodeToLabel createBNodeByLabelEncoded()
Allocation as per internal label, with an encoded safe label.


createBNodeByLabelAsGiven

public static NodeToLabel createBNodeByLabelAsGiven()
Allocation as per internal label


createBNodeByIRI

public static NodeToLabel createBNodeByIRI()
Allocation as per internal label


labelByInternal

public static NodeToLabel labelByInternal()


Licenced under the Apache License, Version 2.0