Class IsotopeHandler

java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.openscience.cdk.config.isotopes.IsotopeHandler
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler

public class IsotopeHandler extends DefaultHandler
Reads an isotope list in CML2 format. An example definition is:

 <isotopeList id="H">
   <isotope id="H1" isotopeNumber="1" elementTyp="H">
     <abundance dictRef="cdk:relativeAbundance">100.0</abundance>
     <scalar dictRef="cdk:exactMass">1.00782504</scalar>
     <scalar dictRef="cdk:atomicNumber">1</scalar>
   </isotope>
   <isotope id="H2" isotopeNumber="2" elementTyp="H">
     <abundance dictRef="cdk:relativeAbundance">0.015</abundance>
     <scalar dictRef="cdk:exactMass">2.01410179</scalar>
     <scalar dictRef="cdk:atomicNumber">1</scalar>
   </isotope>
 </isotopeList>
 
Source code:
main
Belongs to CDK module:
extra