java.lang.Object
org.apache.jena.riot.out.NodeFormatterBase
org.apache.jena.riot.out.NodeFormatterNT
org.apache.jena.riot.out.NodeFormatterTTL
- All Implemented Interfaces:
NodeFormatter
- Direct Known Subclasses:
NodeFormatterTTL_MultiLine
Node formatter for Turtle using single line strings
-
Constructor Summary
ConstructorDescriptionNodeFormatterTTL
(String baseIRI, PrefixMap prefixMap) NodeFormatterTTL
(String baseIRI, PrefixMap prefixMap, NodeToLabel nodeToLabel) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
Methods inherited from class org.apache.jena.riot.out.NodeFormatterNT
formatBNode, formatLitLang, formatLitString, formatVar
Methods inherited from class org.apache.jena.riot.out.NodeFormatterBase
format, formatLiteral, formatURI, formatVar
-
Constructor Details
-
NodeFormatterTTL
public NodeFormatterTTL() -
NodeFormatterTTL
-
NodeFormatterTTL
-
-
Method Details
-
formatURI
- Specified by:
formatURI
in interfaceNodeFormatter
- Overrides:
formatURI
in classNodeFormatterNT
-
formatBNode
public void formatBNode(org.apache.jena.atlas.io.AWriter w, org.apache.jena.graph.Node n) Description copied from interface:NodeFormatter
Node is guaranteed to be a blank node- Specified by:
formatBNode
in interfaceNodeFormatter
- Overrides:
formatBNode
in classNodeFormatterBase
-
formatLitDT
Description copied from interface:NodeFormatter
Literal with datatype, not a simple literal, not an xsd:string (RDF 1.1), no language tag.- Specified by:
formatLitDT
in interfaceNodeFormatter
- Overrides:
formatLitDT
in classNodeFormatterNT
-