public class NodeFormatterTTL_MultiLine extends NodeFormatterTTL
NodeFormatter switches between " and ' quotes to avoid ecapes.
This code writes multiline literals with """ or '''.| Constructor and Description |
|---|
NodeFormatterTTL_MultiLine(String baseIRI,
PrefixMap prefixMap) |
NodeFormatterTTL_MultiLine(String baseIRI,
PrefixMap prefixMap,
NodeToLabel nodeToLabel) |
| Modifier and Type | Method and Description |
|---|---|
void |
formatLitLang(org.apache.jena.atlas.io.AWriter w,
String lex,
String langTag)
String with language tag
|
void |
formatLitString(org.apache.jena.atlas.io.AWriter w,
String lex)
Plain string / xsd:string (RDF 1.1)
|
formatBNode, formatLitDT, formatURIformatBNode, formatVarformat, formatLiteral, formatURI, formatVarpublic NodeFormatterTTL_MultiLine(String baseIRI, PrefixMap prefixMap, NodeToLabel nodeToLabel)
public void formatLitString(org.apache.jena.atlas.io.AWriter w, String lex)
NodeFormatterformatLitString in interface NodeFormatterformatLitString in class NodeFormatterNTpublic void formatLitLang(org.apache.jena.atlas.io.AWriter w, String lex, String langTag)
NodeFormatterformatLitLang in interface NodeFormatterformatLitLang in class NodeFormatterNTLicenced under the Apache License, Version 2.0