Package org.eclipse.rdf4j.rio
Class WriterConfig
java.lang.Object
org.eclipse.rdf4j.rio.RioConfig
org.eclipse.rdf4j.rio.WriterConfig
- All Implemented Interfaces:
Serializable
A container object for easy setting and passing of
RDFWriter
configuration options.- Author:
- Jeen Broekstra, Peter Ansell
- See Also:
-
Field Summary
Fields inherited from class org.eclipse.rdf4j.rio.RioConfig
log, settings, systemPropertyCache
-
Constructor Summary
ConstructorDescriptionCreates a ParserConfig object starting with default settings. -
Method Summary
Modifier and TypeMethodDescription<T> WriterConfig
set
(RioSetting<T> setting, T value) Sets aRioSetting
to have a new value.Resets all settings back to their default values.
-
Constructor Details
-
WriterConfig
public WriterConfig()Creates a ParserConfig object starting with default settings.
-
-
Method Details
-
useDefaults
Description copied from class:RioConfig
Resets all settings back to their default values.- Overrides:
useDefaults
in classRioConfig
- Returns:
- Either a copy of this config, if it is immutable, or this object, to allow chaining of method calls.
-
set
Description copied from class:RioConfig
Sets aRioSetting
to have a new value. If the value is null, the parser setting is removed and the default will be used instead.- Overrides:
set
in classRioConfig
- Parameters:
setting
- The setting to set a new value for.value
- The value for the parser setting, or null to reset the parser setting to use the default value.- Returns:
- Either a copy of this config, if it is immutable, or this object, to allow chaining of method calls.
-