public class NullWriter extends Object implements WriterDatasetRIOT
| Modifier and Type | Field and Description |
|---|---|
static WriterDatasetRIOTFactory |
factory |
| Modifier and Type | Method and Description |
|---|---|
Lang |
getLang() |
void |
write(OutputStream out,
DatasetGraph datasetGraph,
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
|
public static WriterDatasetRIOTFactory factory
public Lang getLang()
getLang in interface WriterDatasetRIOTpublic void write(OutputStream out, DatasetGraph datasetGraph, PrefixMap prefixMap, String baseURI, Context context)
write in interface WriterDatasetRIOTout - 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)
WriterDatasetRIOTwrite in interface WriterDatasetRIOTout - 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)Licenced under the Apache License, Version 2.0