java.lang.Object
org.apache.jena.riot.out.NodeFormatterBase
org.apache.jena.riot.out.NodeFormatterNT
org.apache.jena.riot.out.NodeFormatterTTL
org.apache.jena.riot.out.NodeFormatterTTL_MultiLine
- All Implemented Interfaces:
NodeFormatter
Node formatter for pretty-printed Turtle. This
NodeFormatter switches
between " and ' quotes to avoid escapes. This code writes multiline literals with
""" or '''.-
Constructor Summary
ConstructorsConstructorDescriptionNodeFormatterTTL_MultiLine(String baseIRI, PrefixMap prefixMap) NodeFormatterTTL_MultiLine(String baseIRI, PrefixMap prefixMap, NodeToLabel nodeToLabel) -
Method Summary
Modifier and TypeMethodDescriptionvoidformatLitLang(org.apache.jena.atlas.io.AWriter w, String lex, String langTag) String with language tagvoidformatLitString(org.apache.jena.atlas.io.AWriter w, String lex) Plain string / xsd:string (RDF 1.1)Methods inherited from class org.apache.jena.riot.out.NodeFormatterTTL
formatBNode, formatLitDT, formatURIMethods inherited from class org.apache.jena.riot.out.NodeFormatterNT
formatBNode, formatLitLangDir, formatVarMethods inherited from class org.apache.jena.riot.out.NodeFormatterBase
format, formatLiteral, formatURI, formatVar
-
Constructor Details
-
NodeFormatterTTL_MultiLine
-
NodeFormatterTTL_MultiLine
-
-
Method Details
-
formatLitString
Description copied from interface:NodeFormatterPlain string / xsd:string (RDF 1.1)- Specified by:
formatLitStringin interfaceNodeFormatter- Overrides:
formatLitStringin classNodeFormatterNT
-
formatLitLang
Description copied from interface:NodeFormatterString with language tag- Specified by:
formatLitLangin interfaceNodeFormatter- Overrides:
formatLitLangin classNodeFormatterNT
-