public class WriterTriX extends Object implements WriterDatasetRIOT, WriterGraphRIOT
TriX
for details.
The writer defers to StreamWriterTriX
.TriX
,
ReaderTriX
,
StreamWriterTriX
Constructor and Description |
---|
WriterTriX() |
Modifier and Type | Method and Description |
---|---|
Lang |
getLang() |
void |
write(OutputStream out,
DatasetGraph datasetGraph,
PrefixMap prefixMap,
String baseURI,
Context context) |
void |
write(OutputStream out,
Graph graph,
PrefixMap prefixMap,
String baseURI,
Context context) |
void |
write(Writer out,
DatasetGraph datasetGraph,
PrefixMap prefixMap,
String baseURI,
Context context)
Use of Writer is discouraged - let the serializer manage character sets in accordance with the format
|
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 Lang getLang()
getLang
in interface WriterDatasetRIOT
getLang
in interface WriterGraphRIOT
public void write(OutputStream out, DatasetGraph datasetGraph, PrefixMap prefixMap, String baseURI, Context context)
write
in interface WriterDatasetRIOT
out
- OutputStreamdatasetGraph
- DatasetGraph 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(Writer out, DatasetGraph datasetGraph, PrefixMap prefixMap, String baseURI, Context context)
WriterDatasetRIOT
write
in interface WriterDatasetRIOT
out
- WriterdatasetGraph
- DatasetGraph 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 WriterGraphRIOT
out
- 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)public void write(Writer out, Graph graph, PrefixMap prefixMap, String baseURI, Context context)
WriterGraphRIOT
write
in interface WriterGraphRIOT
out
- 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)Licenced under the Apache License, Version 2.0