@Beta @PublicAPI public interface MDReaderFactory
chemaxon.descriptors
API. An instance can
check an XML descriptor configuration if it can handle.
Please note that this interface is marked with @Beta annotation, so it can be subject of incompatible changes or removal in later releases.
Modifier and Type | Method and Description |
---|---|
boolean |
canHandle(String xmlConfig)
Returns true if this factory can handle the given xml.
|
MDTableReader<? extends Descriptor> |
createReader(String xmlConfig)
Generates reader object.
|
boolean canHandle(String xmlConfig)
Standardizer
is not checked by implementation. This method returns
true
for compatible descriptors even when the descriptors standardizer configuration is not recognized.xmlConfig
- configuration stringtrue
when the configuration can be handled by this instanceMDTableReader<? extends Descriptor> createReader(String xmlConfig)
xmlConfig
- configuration stringIllegalArgumentException
- when this instance is incompatible with the given configuration string