- All Known Implementing Classes:
NodeFormatterBase
,NodeFormatterNT
,NodeFormatterTTL
,NodeFormatterTTL_MultiLine
public interface NodeFormatter
Processor for output of RDF terms.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
format
(org.apache.jena.atlas.io.AWriter w, org.apache.jena.graph.Node n) void
formatBNode
(org.apache.jena.atlas.io.AWriter w, String label) void
formatBNode
(org.apache.jena.atlas.io.AWriter w, org.apache.jena.graph.Node n) Node is guaranteed to be a blank nodevoid
formatLitDT
(org.apache.jena.atlas.io.AWriter w, String lex, String datatypeURI) Literal with datatype, not a simple literal, not an xsd:string (RDF 1.1), no language tag.void
formatLiteral
(org.apache.jena.atlas.io.AWriter w, org.apache.jena.graph.Node n) Node is guaranteed to be a literalvoid
formatLitLang
(org.apache.jena.atlas.io.AWriter w, String lex, String langTag) String with language tagvoid
formatLitString
(org.apache.jena.atlas.io.AWriter w, String lex) Plain string / xsd:string (RDF 1.1)void
void
formatURI
(org.apache.jena.atlas.io.AWriter w, org.apache.jena.graph.Node n) Node is guaranteed to be a URI nodevoid
void
formatVar
(org.apache.jena.atlas.io.AWriter w, org.apache.jena.graph.Node n)
-
Method Details
-
format
void format(org.apache.jena.atlas.io.AWriter w, org.apache.jena.graph.Node n) -
formatURI
void formatURI(org.apache.jena.atlas.io.AWriter w, org.apache.jena.graph.Node n) Node is guaranteed to be a URI node -
formatURI
-
formatVar
void formatVar(org.apache.jena.atlas.io.AWriter w, org.apache.jena.graph.Node n) -
formatVar
-
formatBNode
void formatBNode(org.apache.jena.atlas.io.AWriter w, org.apache.jena.graph.Node n) Node is guaranteed to be a blank node -
formatBNode
-
formatLiteral
void formatLiteral(org.apache.jena.atlas.io.AWriter w, org.apache.jena.graph.Node n) Node is guaranteed to be a literal -
formatLitString
Plain string / xsd:string (RDF 1.1) -
formatLitLang
String with language tag -
formatLitDT
Literal with datatype, not a simple literal, not an xsd:string (RDF 1.1), no language tag.
-