org.apache.jena.riot.out
Class NodeFormatterTTL

java.lang.Object
  extended by org.apache.jena.riot.out.NodeFormatterBase
      extended by org.apache.jena.riot.out.NodeFormatterNT
          extended by org.apache.jena.riot.out.NodeFormatterTTL
All Implemented Interfaces:
NodeFormatter

public class NodeFormatterTTL
extends NodeFormatterNT


Constructor Summary
NodeFormatterTTL(String baseIRI, PrefixMap prefixMap)
           
NodeFormatterTTL(String baseIRI, PrefixMap prefixMap, NodeToLabel nodeToLabel)
           
 
Method Summary
 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)
           
 
Methods inherited from class org.apache.jena.riot.out.NodeFormatterNT
formatBNode, formatLitLang, formatLitString, formatVar
 
Methods inherited from class org.apache.jena.riot.out.NodeFormatterBase
format, formatLiteral, formatURI, formatVar
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeFormatterTTL

public NodeFormatterTTL(String baseIRI,
                        PrefixMap prefixMap)

NodeFormatterTTL

public NodeFormatterTTL(String baseIRI,
                        PrefixMap prefixMap,
                        NodeToLabel nodeToLabel)
Method Detail

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