org.apache.jena.riot.system
Class SyntaxLabels

java.lang.Object
  extended by org.apache.jena.riot.system.SyntaxLabels

public class SyntaxLabels
extends Object

Factory for default policies for syntax labels to and from nodes For label to node (parsing) we use a scalable hashing scheme (MD5 of a seed and the label) For node to label (pretty labels output), we use a unique tracking scheme. Fully scalable writers use different polices and don't have short, pretty bNode labels.


Constructor Summary
SyntaxLabels()
           
 
Method Summary
static LabelToNode createLabelToNode()
           
static LabelToNode createLabelToNodeRT()
           
static NodeToLabel createNodeToLabel()
          Default setup - scope by document, relabel BNodes ids to short forms
static NodeToLabel createNodeToLabelRT()
          Round-trip setup
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SyntaxLabels

public SyntaxLabels()
Method Detail

createNodeToLabel

public static NodeToLabel createNodeToLabel()
Default setup - scope by document, relabel BNodes ids to short forms


createLabelToNode

public static LabelToNode createLabelToNode()

createNodeToLabelRT

public static NodeToLabel createNodeToLabelRT()
Round-trip setup


createLabelToNodeRT

public static LabelToNode createLabelToNodeRT()


Licenced under the Apache License, Version 2.0