Class: CmlFormulaWriter

Kekule.IO. CmlFormulaWriter

new CmlFormulaWriter()

CML element writer for outputting Kekule.MolecularFormula.
Source:

Extends

Methods

reportTypeMismatchError(obj)

Report this writer is not proper for writing obj.
Parameters:
Name Type Description
obj Object
Inherited From:
Source:

writeObject(obj, parentElem, doc) → {Object}

Write Kekule obj to a new CML element in doc or insert new attributes to parentElem.
Parameters:
Name Type Description
obj Kekule.ChemObject
parentElem Object
doc Object
Inherited From:
Source:
Returns:
Element created.
Type
Object