- All Known Implementing Classes:
NodeFormatterBase
,NodeFormatterNT
,NodeFormatterTTL
,NodeFormatterTTL_MultiLine
public interface NodeFormatter
Processor for output of RDF terms.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
formatBNode
(org.apache.jena.atlas.io.AWriter w, String label) void
formatBNode
(org.apache.jena.atlas.io.AWriter w, 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, 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
Node is guaranteed to be a URI nodevoid
void
-
Method Details
-
format
-
formatURI
Node is guaranteed to be a URI node -
formatURI
-
formatVar
-
formatVar
-
formatBNode
Node is guaranteed to be a blank node -
formatBNode
-
formatLiteral
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.
-