org.apache.jena.riot.out
Class NodeFormatterTTL
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
public class NodeFormatterTTL
- extends NodeFormatterNT
NodeFormatterTTL
public NodeFormatterTTL(String baseIRI,
PrefixMap prefixMap)
NodeFormatterTTL
public NodeFormatterTTL(String baseIRI,
PrefixMap prefixMap,
NodeToLabel nodeToLabel)
formatURI
public void formatURI(AWriter w,
String uriStr)
- Specified by:
formatURI in interface NodeFormatter- Overrides:
formatURI in class NodeFormatterNT
formatBNode
public void formatBNode(AWriter w,
Node n)
- Description copied from interface:
NodeFormatter
- Node is guaranteed to be a blank node
- Specified by:
formatBNode in interface NodeFormatter- Overrides:
formatBNode in class NodeFormatterBase
formatLitDT
public void formatLitDT(AWriter w,
String lex,
String datatypeURI)
- 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 interface NodeFormatter- Overrides:
formatLitDT in class NodeFormatterNT
Licenced under the Apache License, Version 2.0