public class CMLCoreModule extends Object implements ICMLModule
Please file a bug report if this parser fails to parse a certain element or attribute value in a valid CML document.
| Constructor and Description |
|---|
CMLCoreModule(IChemFile chemFile) |
CMLCoreModule(ICMLModule conv) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
addArrayElementsTo(List<String> toAddto,
String array) |
void |
characterData(org.openscience.cdk.io.cml.CMLStack xpath,
char[] ch,
int start,
int length) |
void |
endDocument() |
void |
endElement(org.openscience.cdk.io.cml.CMLStack xpath,
String uri,
String name,
String raw) |
void |
inherit(ICMLModule convention) |
protected void |
newAtomData()
Clean all data about read atoms.
|
protected void |
newBondData()
Clean all data about read bonds.
|
protected void |
newCrystalData()
Clean all data about read bonds.
|
protected void |
newFormulaData()
Clean all data about read formulas.
|
protected void |
newMolecule()
Clean all data about parsed data.
|
protected void |
newMoleculeData()
Clean all data about the molecule itself.
|
protected void |
notify(String message,
String systemId,
int line,
int column) |
IChemFile |
returnChemFile() |
void |
startDocument() |
void |
startElement(org.openscience.cdk.io.cml.CMLStack xpath,
String uri,
String local,
String raw,
Attributes atts) |
protected void |
storeAtomData() |
protected void |
storeBondData() |
protected void |
storeData() |
protected ILoggingTool logger
protected final String SYSTEMID
protected IChemFile currentChemFile
protected IAtomContainer currentMolecule
protected IAtomContainerSet currentMoleculeSet
protected IChemModel currentChemModel
protected IChemSequence currentChemSequence
protected IReactionSet currentReactionSet
protected IReaction currentReaction
protected IAtom currentAtom
protected IBond currentBond
protected IStrand currentStrand
protected IMonomer currentMonomer
protected int formulaCounter
protected int atomCounter
protected boolean parityAtomsGiven
protected boolean parityGiven
protected int bondCounter
protected boolean stereoGiven
protected String inchi
protected int curRef
protected int CurrentElement
protected String BUILTIN
protected String DICTREF
protected String elementTitle
protected String currentChars
protected double[] unitcellparams
protected int crystalScalar
public CMLCoreModule(IChemFile chemFile)
public CMLCoreModule(ICMLModule conv)
public void inherit(ICMLModule convention)
inherit in interface ICMLModulepublic IChemFile returnChemFile()
returnChemFile in interface ICMLModuleprotected void newMolecule()
protected void newMoleculeData()
protected void newFormulaData()
protected void newAtomData()
protected void newBondData()
protected void newCrystalData()
public void startDocument()
startDocument in interface ICMLModulepublic void endDocument()
endDocument in interface ICMLModulepublic void startElement(org.openscience.cdk.io.cml.CMLStack xpath, String uri, String local, String raw, Attributes atts)
startElement in interface ICMLModulepublic void endElement(org.openscience.cdk.io.cml.CMLStack xpath, String uri, String name, String raw)
endElement in interface ICMLModulepublic void characterData(org.openscience.cdk.io.cml.CMLStack xpath, char[] ch, int start, int length)
characterData in interface ICMLModuleprotected void storeData()
protected void storeAtomData()
protected void storeBondData()
Copyright © 2017. All rights reserved.