public class RDFJSONWriter extends WriterGraphRIOTBase
| Constructor and Description |
|---|
RDFJSONWriter() |
| Modifier and Type | Method and Description |
|---|---|
Lang |
getLang() |
static void |
output(OutputStream out,
Graph graph) |
static void |
output(Writer out,
Graph graph) |
void |
write(OutputStream out,
Graph graph,
PrefixMap prefixMap,
String baseURI,
Context context) |
void |
write(Writer out,
Graph graph,
PrefixMap prefixMap,
String baseURI,
Context context)
Use of Writer is discouraged - let the serializer manage character sets in accordance with the format
|
public static void output(OutputStream out, Graph graph)
public Lang getLang()
public void write(Writer out, Graph graph, PrefixMap prefixMap, String baseURI, Context context)
WriterGraphRIOTwrite in interface WriterGraphRIOTwrite in class WriterGraphRIOTBaseout - Writergraph - Graph to be writtenprefixMap - PrefixMap - maybe null (default should be to use the prefixmapping from the Graph)baseURI - base URI - may be null for "none"context - Context (see specific implementation for details)public void write(OutputStream out, Graph graph, PrefixMap prefixMap, String baseURI, Context context)
write in interface WriterGraphRIOTwrite in class WriterGraphRIOTBaseout - OutputStreamgraph - Graph to be writtenprefixMap - PrefixMap - maybe null (default should be to use the prefixmapping from the Graph)baseURI - base URI - may be null for "none"context - Context (see specific implementation for details)Licenced under the Apache License, Version 2.0