org.openjena.riot.out
Class NodeFmtLib
java.lang.Object
org.openjena.riot.out.NodeFmtLib
public class NodeFmtLib
- extends Object
Presentation utilitiles for Nodes, Triples, Quads and more
NodeFmtLib
public NodeFmtLib()
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