TurtleWriter internally.@Deprecated public class ArrangedWriter extends AbstractRDFWriter
namespaceTable, statementConsumer| Constructor and Description |
|---|
ArrangedWriter(RDFWriter delegate)
Deprecated.
|
ArrangedWriter(RDFWriter delegate,
int size)
Deprecated.
|
ArrangedWriter(RDFWriter delegate,
int size,
boolean repeatBlankNodes)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
consumeStatement(Statement st)
Deprecated.
Consume a statement.
|
void |
endRDF()
Deprecated.
Signals the end of the RDF data.
|
RDFFormat |
getRDFFormat()
Deprecated.
Gets the RDF format that this RDFWriter uses.
|
Collection<RioSetting<?>> |
getSupportedSettings()
Deprecated.
|
WriterConfig |
getWriterConfig()
Deprecated.
Retrieves the current writer configuration as a single object.
|
void |
handleComment(String comment)
Deprecated.
Handles a comment.
|
void |
handleNamespace(String prefix,
String uri)
Deprecated.
Handles a namespace declaration/definition.
|
<T> RDFWriter |
set(RioSetting<T> setting,
T value)
Deprecated.
Set a setting on the writer, and return this writer object to allow chaining.
|
RDFWriter |
setWriterConfig(WriterConfig config)
Deprecated.
Sets all supplied writer configuration options.
|
void |
startRDF()
Deprecated.
Signals the start of the RDF data.
|
checkWritingStarted, getFileFormat, handleStatement, isWritingStartedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitacceptsFileFormatpublic ArrangedWriter(RDFWriter delegate)
public ArrangedWriter(RDFWriter delegate, int size)
public ArrangedWriter(RDFWriter delegate, int size, boolean repeatBlankNodes)
public RDFFormat getRDFFormat()
RDFWriterpublic RDFWriter setWriterConfig(WriterConfig config)
RDFWritersetWriterConfig in interface RDFWritersetWriterConfig in class AbstractRDFWriterconfig - a writer configuration object.public WriterConfig getWriterConfig()
RDFWritergetWriterConfig in interface RDFWritergetWriterConfig in class AbstractRDFWriterpublic Collection<RioSetting<?>> getSupportedSettings()
getSupportedSettings in interface RDFWritergetSupportedSettings in class AbstractRDFWriterRioSettings that are supported by this RDFWriter.public <T> RDFWriter set(RioSetting<T> setting, T value)
RDFWriterset in interface RDFWriterset in class AbstractRDFWritersetting - The setting to change.value - The value to change.public void startRDF()
throws RDFHandlerException
RDFHandlerstartRDF in interface RDFHandlerstartRDF in class AbstractRDFWriterRDFHandlerException - If the RDF handler has encountered an unrecoverable error.public void endRDF()
throws RDFHandlerException
RDFHandlerRDFHandlerException - If the RDF handler has encountered an unrecoverable error.public void handleNamespace(String prefix, String uri) throws RDFHandlerException
RDFHandlerhandleNamespace in interface RDFHandlerhandleNamespace in class AbstractRDFWriterprefix - 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 void handleComment(String comment) throws RDFHandlerException
RDFHandlercomment - The comment.RDFHandlerException - If the RDF handler has encountered an unrecoverable error.protected void consumeStatement(Statement st) throws RDFHandlerException
AbstractRDFWriterAbstractRDFWriter.handleStatement(Statement) in order to
benefit from automatic handling of RDF* conversion or encoding.consumeStatement in class AbstractRDFWriterst - the statement to consume.RDFHandlerExceptionCopyright © 2015-2021 Eclipse Foundation. All Rights Reserved.