public class PubChemXMLHelper extends Object
Constructor and Description |
---|
PubChemXMLHelper(IChemObjectBuilder builder) |
Modifier and Type | Method and Description |
---|---|
String |
getCID(org.xmlpull.v1.XmlPullParser parser) |
String |
getSID(org.xmlpull.v1.XmlPullParser parser) |
void |
parseAtomCharges(org.xmlpull.v1.XmlPullParser parser,
IMolecule molecule) |
void |
parseAtomElements(org.xmlpull.v1.XmlPullParser parser,
IMolecule molecule) |
IMoleculeSet |
parseCompoundsBlock(org.xmlpull.v1.XmlPullParser parser) |
IMolecule |
parseMolecule(org.xmlpull.v1.XmlPullParser parser,
IChemObjectBuilder builder) |
void |
parserAtomBlock(org.xmlpull.v1.XmlPullParser parser,
IMolecule molecule) |
void |
parserBondBlock(org.xmlpull.v1.XmlPullParser parser,
IMolecule molecule) |
void |
parserCompoundInfoData(org.xmlpull.v1.XmlPullParser parser,
IMolecule molecule) |
void |
parserCoordBlock(org.xmlpull.v1.XmlPullParser parser,
IMolecule molecule) |
IChemModel |
parseSubstance(org.xmlpull.v1.XmlPullParser parser) |
public static final String EL_PCCOMPOUND
public static final String EL_PCCOMPOUNDS
public static final String EL_PCSUBSTANCE
public static final String EL_PCSUBSTANCE_SID
public static final String EL_PCCOMPOUND_ID
public static final String EL_PCCOMPOUND_CID
public static final String EL_PCID_ID
public static final String EL_ATOMBLOCK
public static final String EL_ATOMSELEMENT
public static final String EL_ATOMSCHARGE
public static final String EL_ATOMINT
public static final String EL_ATOMINT_AID
public static final String EL_ATOMINT_VALUE
public static final String EL_ELEMENT
public static final String EL_COORDINATESBLOCK
public static final String EL_COORDINATES_AID
public static final String EL_COORDINATES_AIDE
public static final String EL_ATOM_CONFORMER
public static final String EL_ATOM_CONFORMER_X
public static final String EL_ATOM_CONFORMER_XE
public static final String EL_ATOM_CONFORMER_Y
public static final String EL_ATOM_CONFORMER_YE
public static final String EL_ATOM_CONFORMER_Z
public static final String EL_ATOM_CONFORMER_ZE
public static final String EL_BONDBLOCK
public static final String EL_BONDID1
public static final String EL_BONDID2
public static final String EL_BONDORDER
public static final String EL_PROPSBLOCK
public static final String EL_PROPS_INFODATA
public static final String EL_PROPS_URNLABEL
public static final String EL_PROPS_URNNAME
public static final String EL_PROPS_SVAL
public static final String EL_PROPS_FVAL
public static final String EL_PROPS_BVAL
public PubChemXMLHelper(IChemObjectBuilder builder) throws IOException
IOException
- if there is error in getting the IsotopeFactory
public IMoleculeSet parseCompoundsBlock(org.xmlpull.v1.XmlPullParser parser) throws Exception
Exception
public IChemModel parseSubstance(org.xmlpull.v1.XmlPullParser parser) throws Exception
Exception
public void parseAtomElements(org.xmlpull.v1.XmlPullParser parser, IMolecule molecule) throws Exception
Exception
public void parserAtomBlock(org.xmlpull.v1.XmlPullParser parser, IMolecule molecule) throws Exception
Exception
public void parserCompoundInfoData(org.xmlpull.v1.XmlPullParser parser, IMolecule molecule) throws Exception
Exception
public void parseAtomCharges(org.xmlpull.v1.XmlPullParser parser, IMolecule molecule) throws Exception
Exception
public IMolecule parseMolecule(org.xmlpull.v1.XmlPullParser parser, IChemObjectBuilder builder) throws Exception
Exception
public void parserBondBlock(org.xmlpull.v1.XmlPullParser parser, IMolecule molecule) throws Exception
Exception