Class: CmlElementWriterFactory

Kekule.IO. CmlElementWriterFactory

new CmlElementWriterFactory()

A manager to create suitable element writer for CML document.
Source:

Methods

(static) getWriter(objOrTypeName) → {Kekule.IO.CmlElementWriter}

Returns suitable writer.
Parameters:
Name Type Description
objOrTypeName Variant Object or object's type name.
Source:
Returns:
Type
Kekule.IO.CmlElementWriter

(static) register(objTypeName, writerClass)

Register new writer class.
Parameters:
Name Type Description
objTypeName Variant Class name or type name or name array of source object.
writerClass Object Class of writer.
Source: