public abstract class AbstractRDFWriter extends Object implements RDFWriter
RDFWriters offering common functionality for RDF writers.| Modifier and Type | Field and Description | 
|---|---|
| protected Map<String,String> | namespaceTableMapping from namespace prefixes to namespace names. | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | AbstractRDFWriter()Default constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| Collection<RioSetting<?>> | getSupportedSettings() | 
| WriterConfig | getWriterConfig()Retrieves the current writer configuration as a single object. | 
| void | handleNamespace(String prefix,
               String uri)Handles a namespace declaration/definition. | 
| <T> RDFWriter | set(RioSetting<T> setting,
   T value)Set a setting on the writer, and return this writer object to allow chaining. | 
| RDFWriter | setWriterConfig(WriterConfig config)Sets all supplied writer configuration options. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRDFFormatendRDF, handleComment, handleStatement, startRDFpublic void handleNamespace(String prefix, String uri) throws RDFHandlerException
RDFHandlerhandleNamespace in interface RDFHandlerprefix - The prefix for the namespace, or an empty string in case of a default namespace.uri - The URI that the prefix maps to.RDFHandlerException - If the RDF handler has encountered an unrecoverable error.public RDFWriter setWriterConfig(WriterConfig config)
RDFWritersetWriterConfig in interface RDFWriterconfig - a writer configuration object.public WriterConfig getWriterConfig()
RDFWritergetWriterConfig in interface RDFWriterpublic Collection<RioSetting<?>> getSupportedSettings()
getSupportedSettings in interface RDFWriterRioSettings that are supported by this RDFWriter.public <T> RDFWriter set(RioSetting<T> setting, T value)
RDFWriterCopyright © 2015-2020 Eclipse Foundation. All Rights Reserved.