Class OWLAtomTypeHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.openscience.cdk.config.atomtypes.OWLAtomTypeHandler
- All Implemented Interfaces:
ContentHandler,DTDHandler,EntityResolver,ErrorHandler
SAX Handler for the
OWLAtomTypeReader.-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new AtomTypeHandler and will create IAtomType implementations using the given IChemObjectBuilder. -
Method Summary
Modifier and TypeMethodDescriptionvoidcharacters(char[] chars, int start, int length) voidendElement(String uri, String local, String raw) Returns a List with read IAtomType's.voidvoidstartElement(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, warningMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
OWLAtomTypeHandler
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:
startDocumentin interfaceContentHandler- Overrides:
startDocumentin classDefaultHandler
-
endElement
- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classDefaultHandler
-
startElement
- Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classDefaultHandler
-
characters
public void characters(char[] chars, int start, int length) - Specified by:
charactersin interfaceContentHandler- Overrides:
charactersin classDefaultHandler
-