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
ConstructorsConstructorDescriptionNodeFormatterTTL(String baseIRI, PrefixMap prefixMap) NodeFormatterTTL(String baseIRI, PrefixMap prefixMap, NodeToLabel nodeToLabel) -
Method Summary
Modifier and TypeMethodDescriptionvoidformatBNode(org.apache.jena.atlas.io.AWriter w, org.apache.jena.graph.Node n) Node is guaranteed to be a blank nodevoidformatLitDT(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.voidMethods inherited from class org.apache.jena.riot.out.NodeFormatterNT
formatBNode, formatLitLang, formatLitLangDir, formatLitString, formatVarMethods 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:
formatURIin interfaceNodeFormatter- Overrides:
formatURIin classNodeFormatterNT
-
formatBNode
public void formatBNode(org.apache.jena.atlas.io.AWriter w, org.apache.jena.graph.Node n) Description copied from interface:NodeFormatterNode is guaranteed to be a blank node- Specified by:
formatBNodein interfaceNodeFormatter- Overrides:
formatBNodein classNodeFormatterBase
-
formatLitDT
Description copied from interface:NodeFormatterLiteral with datatype, not a simple literal, not an xsd:string (RDF 1.1), no language tag or and base direction.- Specified by:
formatLitDTin interfaceNodeFormatter- Overrides:
formatLitDTin classNodeFormatterNT
-