Class: CmlScalarWriter

Kekule.IO. CmlScalarWriter

new CmlScalarWriter()

CML element writer, save Kekule.Scalar.
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