Class StandardizerConfigurationXmlWriter
java.lang.Object
chemaxon.standardizer.configuration.StandardizerConfigurationXmlWriter
- All Implemented Interfaces:
StandardizerConfigurationWriter
@PublicApi
public class StandardizerConfigurationXmlWriter
extends Object
implements StandardizerConfigurationWriter
Standardizer configuration writer for XML configuration files.
Creates an XML representation based on the provided configuration instance.
- Since:
- 5.11
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the string value of the format of molecule export used by the writervoidSets the string value of the format of molecule export used by the writervoidwriteConfiguration(StandardizerConfiguration configuration, OutputStream output) Writes the target configuration to output stream
-
Constructor Details
-
StandardizerConfigurationXmlWriter
public StandardizerConfigurationXmlWriter()
-
-
Method Details
-
writeConfiguration
Description copied from interface:StandardizerConfigurationWriterWrites the target configuration to output stream- Specified by:
writeConfigurationin interfaceStandardizerConfigurationWriter- Parameters:
configuration- is aStandardizerConfigurationof well configuredStandardizerActioninstancesoutput- is anOutputStreaminstance which will contain the serialized configuration
-
getFormat
Gets the string value of the format of molecule export used by the writer- Returns:
- the string value of the format of molecule export used by the writer
-
setFormat
Sets the string value of the format of molecule export used by the writer- Parameters:
format- the string value of the format of molecule export used by the writer
-