public class NodeFmtLib extends Object
Constructor and Description |
---|
NodeFmtLib() |
Modifier and Type | Method and Description |
---|---|
static String |
abbrevByBase(String uri,
String base) |
static String |
decodeBNodeLabel(String label) |
static String |
encodeBNodeLabel(String label) |
static void |
serialize(IndentedWriter w,
Node n,
Prologue prologue) |
static void |
serialize(IndentedWriter w,
Node n,
String base,
PrefixMap prefixMap) |
static void |
str(IndentedWriter w,
Node n) |
static String |
str(Node n) |
static String |
str(Quad q) |
static String |
str(Triple t) |
static String |
strNodes(Node... nodes) |
public static void str(IndentedWriter w, Node n)
public static void serialize(IndentedWriter w, Node n, Prologue prologue)
public static void serialize(IndentedWriter w, Node n, String base, PrefixMap prefixMap)
Licenced under the Apache License, Version 2.0