org.openjena.riot.out
Class NodeFormatterTTL

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

public class NodeFormatterTTL
extends NodeFormatterNT


Constructor Summary
NodeFormatterTTL(String baseIRI, PrefixMap prefixMap)
           
 
Method Summary
 void formatLitDT(Writer w, String lex, String datatypeURI)
          Literal with datatype, not a simple literal, not an xsd:string (RDF 1.1), no language tag.
 void formatURI(Writer w, String uriStr)
           
static boolean isCharsExtra(int ch)
           
 
Methods inherited from class org.openjena.riot.out.NodeFormatterNT
formatBNode, formatLitLang, formatLitString, formatVar
 
Methods inherited from class org.openjena.riot.out.NodeFormatterBase
format, formatBNode, 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)
Method Detail

formatURI

public void formatURI(Writer w,
                      String uriStr)
Specified by:
formatURI in interface NodeFormatter
Overrides:
formatURI in class NodeFormatterNT

isCharsExtra

public static boolean isCharsExtra(int ch)

formatLitDT

public void formatLitDT(Writer 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