java.lang.Object
org.apache.jena.riot.out.NodeFmtLib
Presentation utilities for Nodes, Triples, Quads and more.
Methods str generate a re-parseable string.
Methods displayStr do not guarantee a re-parseable string
e.g. may use abbreviations or common prefixes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringdecodeBNodeLabel(String label) static StringdisplayStr(Node node) static StringdisplayStr(Triple t) static StringdisplayStr(RDFNode obj) A displayable string for an RDFNode.static StringencodeBNodeLabel(String label) static voidDeprecated.To be removed.static StringDeprecated.static StringFormat in Turtle style, using the base URI and prefix map.static StringFormat in Turtle style, using the prefix map.static StringFormat a triple, using Turtle literal abbreviations.static StringFormat a quad, using Turtle literal abbreviations.static StringDeprecated.static StringstrNodesNT(Node... nodes) static StringstrNodesTTL(Node... nodes) static StringFormat in N-triples style.static StringWith Turtle abbreviation for literals, no prefixes of base URI
-
Constructor Details
-
NodeFmtLib
public NodeFmtLib()
-
-
Method Details
-
str
Format a triple, using Turtle literal abbreviations. -
str
Format a quad, using Turtle literal abbreviations. -
str
Deprecated. -
strTTL
With Turtle abbreviation for literals, no prefixes of base URI -
strNT
Format in N-triples style. -
str
Format in Turtle style, using the prefix map. -
str
Format in Turtle style, using the base URI and prefix map. -
strNodes
Deprecated. -
strNodesNT
-
strNodesTTL
-
serialize
@Deprecated public static void serialize(org.apache.jena.atlas.io.IndentedWriter w, Node node, String base, PrefixMap prefixMap) Deprecated.To be removed. -
displayStr
A displayable string for an RDFNode. Includes common abbreviations -
displayStr
-
displayStr
-
encodeBNodeLabel
-
decodeBNodeLabel
-