D
- Represented descriptor bare type@Beta @PublicAPI public abstract class MDTableReader<D extends Descriptor> extends Object
Please note that this interface is marked with @Beta annotation, so it can be subject of incompatible changes or removal in later releases.
Constructor and Description |
---|
MDTableReader() |
Modifier and Type | Method and Description |
---|---|
static MDTableReader<? extends Descriptor> |
createNewReader(String xmlConfig)
Create an MDTableReader from the xml configuration string.
|
abstract DescriptorGenerator<D> |
getDescriptorGenerator()
Associated descriptor generator.
|
abstract StandardizerWrapper |
getStandardizerWrapper()
Get represented standardizer wrapper.
|
abstract String |
getXmlConfig()
Gets configuration string.
|
abstract D |
read(byte[] serialized)
Generates a descriptor from a byte array.
|
public abstract D read(byte[] serialized)
chemaxon.descriptors
API implementation for the represented XML
configuration. This binary form is not compatible with the DescriptorSerializer
represented by
the DescriptorGenerator
returned by getDescriptorGenerator()
.serialized
- Serialize byte array representationpublic abstract String getXmlConfig()
public abstract DescriptorGenerator<D> getDescriptorGenerator()
read(byte[])
. Note that
the DescriptorSerializer
exposed by the returned generator is not compatible with the binary form
represented by this reader.public abstract StandardizerWrapper getStandardizerWrapper()
IllegalStateException
is thrown.IllegalStateException
- When represented standardizer configuration is not recognizedpublic static MDTableReader<? extends Descriptor> createNewReader(String xmlConfig)
xmlConfig
- xml configIllegalArgumentException
- invalid xml string