org.openjena.riot.out
Class OutputLangUtils

java.lang.Object
  extended by org.openjena.riot.out.OutputLangUtils

public class OutputLangUtils
extends Object

Utilites for formatter output


Constructor Summary
OutputLangUtils()
           
 
Method Summary
static String abbrevByBase(String uri, String base)
           
static void output(Writer out, com.hp.hpl.jena.graph.Node s, com.hp.hpl.jena.graph.Node p, com.hp.hpl.jena.graph.Node o, com.hp.hpl.jena.graph.Node g, Prologue prologue, NodeToLabel labelPolicy)
           
static void output(Writer out, com.hp.hpl.jena.graph.Node node, Prologue prologue)
          Use with caution - better to pass in a Node to Label mapper
static void output(Writer out, com.hp.hpl.jena.graph.Node node, Prologue prologue, NodeToLabel labelPolicy)
           
static void output(Writer out, Quad quad, Prologue prologue, NodeToLabel labelPolicy)
           
static void output(Writer out, com.hp.hpl.jena.graph.Triple triple, com.hp.hpl.jena.graph.Node graphNode, Prologue prologue, NodeToLabel labelPolicy)
           
static void output(Writer out, com.hp.hpl.jena.graph.Triple triple, Prologue prologue, NodeToLabel labelPolicy)
           
static void outputEsc(Writer out, String s, boolean useSlashEscapes)
          Deprecated. 
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutputLangUtils

public OutputLangUtils()
Method Detail

output

public static void output(Writer out,
                          Quad quad,
                          Prologue prologue,
                          NodeToLabel labelPolicy)

output

public static void output(Writer out,
                          com.hp.hpl.jena.graph.Node s,
                          com.hp.hpl.jena.graph.Node p,
                          com.hp.hpl.jena.graph.Node o,
                          com.hp.hpl.jena.graph.Node g,
                          Prologue prologue,
                          NodeToLabel labelPolicy)

output

public static void output(Writer out,
                          com.hp.hpl.jena.graph.Triple triple,
                          com.hp.hpl.jena.graph.Node graphNode,
                          Prologue prologue,
                          NodeToLabel labelPolicy)

output

public static void output(Writer out,
                          com.hp.hpl.jena.graph.Triple triple,
                          Prologue prologue,
                          NodeToLabel labelPolicy)

output

public static void output(Writer out,
                          com.hp.hpl.jena.graph.Node node,
                          Prologue prologue)
Use with caution - better to pass in a Node to Label mapper


output

public static void output(Writer out,
                          com.hp.hpl.jena.graph.Node node,
                          Prologue prologue,
                          NodeToLabel labelPolicy)

abbrevByBase

public static String abbrevByBase(String uri,
                                  String base)

outputEsc

@Deprecated
public static void outputEsc(Writer out,
                                        String s,
                                        boolean useSlashEscapes)
Deprecated. 

Output a string, using \t etc and \ u escape mechanisms.

Parameters:
out - Writer for output
s - String to process
useSlashEscapes - Whether to use \t etc (\\ is awlays possible).


Licenced under the Apache License, Version 2.0