- All Known Implementing Classes:
NodeFormatter_C14N,NodeFormatterBase,NodeFormatterNT,NodeFormatterTTL,NodeFormatterTTL_MultiLine
public interface NodeFormatter
Processor for output of RDF terms. The operation
format(AWriter, Node)
formats a node and output on the AWriter.
All other operations assume their Node argument is the correct kind of
RDFterm for the operation.
-
Method Summary
Modifier and TypeMethodDescriptionvoidformat(org.apache.jena.atlas.io.AWriter w, org.apache.jena.graph.Node n) voidformatBNode(org.apache.jena.atlas.io.AWriter w, String label) voidformatBNode(org.apache.jena.atlas.io.AWriter w, org.apache.jena.graph.Node n) voidformatLitDT(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 or and base direction.voidformatLiteral(org.apache.jena.atlas.io.AWriter w, org.apache.jena.graph.Node n) voidformatLitLang(org.apache.jena.atlas.io.AWriter w, String lex, String langTag) String with language tagvoidformatLitLangDir(org.apache.jena.atlas.io.AWriter w, String lex, String langTag, String direction) String with language tag and base direction (RDF 1.2)voidformatLitString(org.apache.jena.atlas.io.AWriter w, String lex) Plain string / xsd:string (RDF 1.1)voidformatTripleTerm(org.apache.jena.atlas.io.AWriter w, org.apache.jena.graph.Node n) voidformatTripleTerm(org.apache.jena.atlas.io.AWriter w, org.apache.jena.graph.Node subject, org.apache.jena.graph.Node proedicate, org.apache.jena.graph.Node object) voidvoidformatURI(org.apache.jena.atlas.io.AWriter w, org.apache.jena.graph.Node n) voidvoidformatVar(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) -
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) -
formatBNode
-
formatLiteral
void formatLiteral(org.apache.jena.atlas.io.AWriter w, org.apache.jena.graph.Node n) -
formatLitString
Plain string / xsd:string (RDF 1.1) -
formatLitLang
String with language tag -
formatLitLangDir
void formatLitLangDir(org.apache.jena.atlas.io.AWriter w, String lex, String langTag, String direction) String with language tag and base direction (RDF 1.2) -
formatLitDT
Literal with datatype, not a simple literal, not an xsd:string (RDF 1.1), no language tag or and base direction. -
formatTripleTerm
void formatTripleTerm(org.apache.jena.atlas.io.AWriter w, org.apache.jena.graph.Node n) -
formatTripleTerm
void formatTripleTerm(org.apache.jena.atlas.io.AWriter w, org.apache.jena.graph.Node subject, org.apache.jena.graph.Node proedicate, org.apache.jena.graph.Node object)
-