com.timjohnstondev.unitconverter.logic
Class ConversionFactorParserHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
com.timjohnstondev.unitconverter.logic.ConversionFactorParserHandler
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler
public class ConversionFactorParserHandler
- extends DefaultHandler
This DefaultHandler is made specifically for this application. It understands the XML file format being used
and the related application objects.
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
characters, endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConversionFactorParserHandler
public ConversionFactorParserHandler()
getPropertyList
public final PropertyList getPropertyList()
- Returns the
PropertyList constructed by the parser.
- Returns:
- the
PropertyList constructed by the parser
startElement
public final void startElement(String uri,
String localName,
String qualifiedName,
Attributes attributes)
throws SAXException
- Specified by:
startElement in interface ContentHandler- Overrides:
startElement in class DefaultHandler
- Throws:
SAXException
endElement
public final void endElement(String uri,
String localName,
String qualifiedName)
throws SAXException
- Specified by:
endElement in interface ContentHandler- Overrides:
endElement in class DefaultHandler
- Throws:
SAXException
Copyright © 2009 Tim Johnston Development, LLC. All Rights Reserved.