public class NodeFormatterTTL extends NodeFormatterNT
Constructor and Description |
---|
NodeFormatterTTL(String baseIRI,
PrefixMap prefixMap) |
NodeFormatterTTL(String baseIRI,
PrefixMap prefixMap,
NodeToLabel nodeToLabel) |
Modifier and Type | Method and Description |
---|---|
void |
formatBNode(AWriter w,
Node n)
Node is guaranteed to be a blank node
|
void |
formatLitDT(AWriter w,
String lex,
String datatypeURI)
Literal with datatype, not a simple literal, not an xsd:string (RDF 1.1), no language tag.
|
void |
formatURI(AWriter w,
String uriStr) |
static boolean |
isCharsExtra(int ch) |
formatBNode, formatLitLang, formatLitString, formatVar
format, formatLiteral, formatURI, formatVar
public NodeFormatterTTL(String baseIRI, PrefixMap prefixMap, NodeToLabel nodeToLabel)
public void formatURI(AWriter w, String uriStr)
formatURI
in interface NodeFormatter
formatURI
in class NodeFormatterNT
public void formatBNode(AWriter w, Node n)
NodeFormatter
formatBNode
in interface NodeFormatter
formatBNode
in class NodeFormatterBase
public static boolean isCharsExtra(int ch)
public void formatLitDT(AWriter w, String lex, String datatypeURI)
NodeFormatter
formatLitDT
in interface NodeFormatter
formatLitDT
in class NodeFormatterNT
Licenced under the Apache License, Version 2.0