org.openjena.riot.out
Class NodeFormatterNT

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

public class NodeFormatterNT
extends NodeFormatterBase


Constructor Summary
NodeFormatterNT()
           
 
Method Summary
 void formatBNode(Writer w, String label)
           
 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 formatLitLang(Writer w, String lex, String langTag)
          String with language tag
 void formatLitString(Writer w, String lex)
          Plain string / xsd:string (RDF 1.1)
 void formatURI(Writer w, String uriStr)
           
 void formatVar(Writer w, String name)
           
 
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

NodeFormatterNT

public NodeFormatterNT()
Method Detail

formatURI

public void formatURI(Writer w,
                      String uriStr)

formatVar

public void formatVar(Writer w,
                      String name)

formatBNode

public void formatBNode(Writer w,
                        String label)

formatLitString

public void formatLitString(Writer w,
                            String lex)
Description copied from interface: NodeFormatter
Plain string / xsd:string (RDF 1.1)


formatLitLang

public void formatLitLang(Writer w,
                          String lex,
                          String langTag)
Description copied from interface: NodeFormatter
String with language tag


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.



Licenced under the Apache License, Version 2.0