Class: CmlElementReaderFactory

Kekule.IO. CmlElementReaderFactory

new CmlElementReaderFactory()

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

Methods

(static) getReader(elemOrLocalName) → {Kekule.IO.CmlElementReader}

Returns suitable reader for an CML element.
Parameters:
Name Type Description
elemOrLocalName Variant Element (Object) or element's local name (String).
Source:
Returns:
Type
Kekule.IO.CmlElementReader

(static) register(elemLocalName, readerClass)

Register new reader class.
Parameters:
Name Type Description
elemLocalName Variant Local name or array of names.
readerClass Object Class of reader.
Source: