Package org.apache.any23.writer
Interface DecoratingWriterFactory
-
- All Superinterfaces:
WriterFactory
public interface DecoratingWriterFactoryBase interface used for constructors of decoratingTripleHandlerimplementations.- Author:
- Hans Brende (hansbrende@apache.org)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description default StringgetMimeType()Deprecated.default org.eclipse.rdf4j.rio.RDFFormatgetRdfFormat()Deprecated.default FormatWritergetRdfWriter(OutputStream os)Deprecated.SettingsgetSupportedSettings()TripleHandlergetTripleWriter(TripleHandler delegate, Settings settings)-
Methods inherited from interface org.apache.any23.writer.WriterFactory
getIdentifier
-
-
-
-
Method Detail
-
getSupportedSettings
Settings getSupportedSettings()
- Returns:
- the settings supported by handlers produced by this factory
-
getTripleWriter
TripleHandler getTripleWriter(TripleHandler delegate, Settings settings)
- Parameters:
delegate- theTripleWriterto delegate input tosettings- the settings with which to configure the returned handler- Returns:
- a
TripleHandlerwhich writes to the specified delegate - Throws:
NullPointerException- if the delegate or settings is nullIllegalArgumentException- if the settings are not correctly configured
-
getRdfWriter
@Deprecated default FormatWriter getRdfWriter(OutputStream os)
Deprecated.- Specified by:
getRdfWriterin interfaceWriterFactory- Parameters:
os- aOutputStreamto be written to the FormatWriter handler- Returns:
- a
FormatWriterready to be implemented
-
getMimeType
@Deprecated default String getMimeType()
Deprecated.- Specified by:
getMimeTypein interfaceWriterFactory- Returns:
- a String representing the Mimetype being handled in this Writer
-
getRdfFormat
@Deprecated default org.eclipse.rdf4j.rio.RDFFormat getRdfFormat()
Deprecated.- Specified by:
getRdfFormatin interfaceWriterFactory- Returns:
- the
RDFFormatbeing handled
-
-