org.openjena.riot.out
Class NodeFmtLib

java.lang.Object
  extended by org.openjena.riot.out.NodeFmtLib

public class NodeFmtLib
extends Object

Presentation utilitiles for Nodes, Triples, Quads and more


Constructor Summary
NodeFmtLib()
           
 
Method Summary
static String abbrevByBase(String uri, String base)
           
static String decodeBNodeLabel(String label)
           
static String encodeBNodeLabel(String label)
           
static void serialize(Writer w, com.hp.hpl.jena.graph.Node n, Prologue prologue)
           
static void serialize(Writer w, com.hp.hpl.jena.graph.Node n, String base, PrefixMap prefixMap)
           
static String str(com.hp.hpl.jena.graph.Node n)
           
static String str(Quad q)
           
static String str(com.hp.hpl.jena.graph.Triple t)
           
static void str(Writer w, com.hp.hpl.jena.graph.Node n)
           
static String strNodes(com.hp.hpl.jena.graph.Node... nodes)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeFmtLib

public NodeFmtLib()
Method Detail

str

public static String str(com.hp.hpl.jena.graph.Triple t)

str

public static String str(Quad q)

strNodes

public static String strNodes(com.hp.hpl.jena.graph.Node... nodes)

str

public static String str(com.hp.hpl.jena.graph.Node n)

str

public static void str(Writer w,
                       com.hp.hpl.jena.graph.Node n)

serialize

public static void serialize(Writer w,
                             com.hp.hpl.jena.graph.Node n,
                             Prologue prologue)

serialize

public static void serialize(Writer w,
                             com.hp.hpl.jena.graph.Node n,
                             String base,
                             PrefixMap prefixMap)

encodeBNodeLabel

public static String encodeBNodeLabel(String label)

decodeBNodeLabel

public static String decodeBNodeLabel(String label)

abbrevByBase

public static String abbrevByBase(String uri,
                                  String base)


Licenced under the Apache License, Version 2.0