org.openjena.riot.out
Class NodeToLabel

java.lang.Object
  extended by org.openjena.riot.system.MapWithScope<com.hp.hpl.jena.graph.Node,java.lang.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,java.lang.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 createBNodeByLabel()
          Allocation as per internal label, with an encoded safe label.
static NodeToLabel createBNodeByLabelRaw()
          Allocation as per internal label
static NodeToLabel createScopeByDocument()
          Allocation from a single scope; just the label matters.
static NodeToLabel createScopeByGraph()
          Allocation scoped by graph and label.
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.


createScopeByGraph

public static NodeToLabel createScopeByGraph()
Allocation scoped by graph and label.


createBNodeByLabel

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


createBNodeByLabelRaw

public static NodeToLabel createBNodeByLabelRaw()
Allocation as per internal label


createBNodeByIRI

public static NodeToLabel createBNodeByIRI()
Allocation as per internal label


labelByInternal

public static NodeToLabel labelByInternal()


Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010, 2011 Epimorphics Ltd.