Class AtomTypeHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.openscience.cdk.config.atomtypes.AtomTypeHandler
- All Implemented Interfaces:
ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
SAX Handler for the AtomTypeReader.
- See Also:
- Source code:
- main
- Belongs to CDK module:
- core
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new AtomTypeHandler and will create IAtomType implementations using the given IChemObjectBuilder. -
Method Summary
Modifier and TypeMethodDescriptionvoid
characters
(char[] chars, int start, int length) void
endElement
(String uri, String local, String raw) Returns a List with read IAtomType's.void
void
startElement
(String uri, String local, String raw, Attributes atts) Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
AtomTypeHandler
Constructs a new AtomTypeHandler and will create IAtomType implementations using the given IChemObjectBuilder.- Parameters:
build
- The IChemObjectBuilder used to create the IAtomType's.
-
-
Method Details
-
getAtomTypes
Returns a List with read IAtomType's.- Returns:
- The read IAtomType's.
-
startDocument
public void startDocument()- Specified by:
startDocument
in interfaceContentHandler
- Overrides:
startDocument
in classDefaultHandler
-
endElement
- Specified by:
endElement
in interfaceContentHandler
- Overrides:
endElement
in classDefaultHandler
-
startElement
- Specified by:
startElement
in interfaceContentHandler
- Overrides:
startElement
in classDefaultHandler
-
characters
public void characters(char[] chars, int start, int length) - Specified by:
characters
in interfaceContentHandler
- Overrides:
characters
in classDefaultHandler
-