@TestClass(value="org.openscience.cdk.config.isotopes.IsotopeHandlerTest") public class IsotopeHandler extends DefaultHandler
100.0 1.00782504 1 0.015 2.01410179 1
Constructor and Description |
---|
IsotopeHandler(IChemObjectBuilder builder)
Constructs an IsotopeHandler used by the IsotopeReader.
|
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] chars,
int start,
int length) |
void |
endElement(String uri,
String local,
String raw) |
List<IIsotope> |
getIsotopes()
Returns the isotopes read from the XML file.
|
void |
startDocument() |
void |
startElement(String uri,
String local,
String raw,
Attributes atts) |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning
@TestMethod(value="testIsotopeHandler_IChemObjectBuilder") public IsotopeHandler(IChemObjectBuilder builder)
builder
- The IChemObjectBuilder used to create new IIsotope's.@TestMethod(value="testGetIsotopes") public List<IIsotope> getIsotopes()
@TestMethod(value="testStartDocument") public void startDocument()
startDocument
in interface ContentHandler
startDocument
in class DefaultHandler
@TestMethod(value="testEndElement_String_String_String") public void endElement(String uri, String local, String raw)
endElement
in interface ContentHandler
endElement
in class DefaultHandler
@TestMethod(value="testEndElement_String_String_String") public void startElement(String uri, String local, String raw, Attributes atts)
startElement
in interface ContentHandler
startElement
in class DefaultHandler
@TestMethod(value="testCharacters_arraychar_int_int") public void characters(char[] chars, int start, int length)
characters
in interface ContentHandler
characters
in class DefaultHandler