- All Known Implementing Classes:
AdapterRDFWriter
,NTriplesWriter
,RDFJSONWriter
,RDFXMLAbbrevWriter
,RDFXMLPlainWriter
,TurtleWriter
,TurtleWriterBase
,TurtleWriterBlocks
,TurtleWriterFlat
,TurtleWriterLong
,WriterGraphProtobuf
,WriterGraphRIOTBase
,WriterGraphThrift
,WriterTriX
public interface WriterGraphRIOT
A RIOT serializer for a language.
This covers both graphs and datasets.
A WriterRIOT is a one-time use object (they may accumulate state, e.g. pretty writers).
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetLang()
void
void
Use of Writer is discouraged - let the serializer manage character sets in accordance with the format
-
Method Details
-
write
- Parameters:
out
- OutputStreamgraph
- Graph to be writtenprefixMap
- PrefixMap - maybe null (default should be to use the prefix mapping from the Graph)baseURI
- base URI - may be null for "none"context
- Context (see specific implementation for details)
-
write
Use of Writer is discouraged - let the serializer manage character sets in accordance with the format- Parameters:
out
- Writergraph
- Graph to be writtenprefixMap
- PrefixMap - maybe null (default should be to use the prefix mapping from the Graph)baseURI
- base URI - may be null for "none"context
- Context (see specific implementation for details)
-
getLang
Lang getLang()
-