new CmlWriter()
Writer for CML document.
Use CmlWriter.writeData() to write a Kekule.ChemObject to suitable CML element.
- Source:
Extends
Methods
-
doReadData(data, dataType, format, options) → {Variant}
-
Do actual work for Kekule.IO.ChemDataReader#readData. Descendants should override this method.
Parameters:
Name Type Description dataVariant dataTypeString Type of data, value should fom Kekule.IO.ChemDataType. formatString Format ID. optionsHash Additional options to read data. Different reader may have different options. - Inherited From:
- Source:
Returns:
Instance created by data.- Type
- Variant
-
readData(data, dataType, format, options) → {Variant}
-
Read from data and return a related instance.
Parameters:
Name Type Description dataVariant dataTypeString Type of data, value should fom Kekule.ChemStructureDataType. formatString Format ID. optionsHash Additional options to read data. Different reader may have different options. - Inherited From:
- Source:
Returns:
Instance created by data.- Type
- Variant