Package org.jfree.xml.parser.coretypes
Class GenericReadHandler
java.lang.Object
org.jfree.xml.parser.AbstractXmlReadHandler
org.jfree.xml.parser.coretypes.GenericReadHandler
- All Implemented Interfaces:
XmlReadHandler
A SAX handler for reading a generic object from an XML element.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected XmlReadHandler
getHandlerForChild
(String tagName, Attributes atts) Returns the child handler.Returns the object.protected void
startParsing
(Attributes attrs) Called at the start of parsing.Methods inherited from class org.jfree.xml.parser.AbstractXmlReadHandler
characters, doneParsing, endElement, getRootHandler, getTagName, init, startElement
-
Constructor Details
-
GenericReadHandler
Creates a new handler.- Parameters:
factory
- the generic object factory.
-
-
Method Details
-
startParsing
Called at the start of parsing.- Overrides:
startParsing
in classAbstractXmlReadHandler
- Parameters:
attrs
- the attributes.- Throws:
SAXException
- if there is a parsing error.
-
getHandlerForChild
Returns the child handler.- Overrides:
getHandlerForChild
in classAbstractXmlReadHandler
- Parameters:
tagName
- the tag name.atts
- the attributes.- Returns:
- The handler.
- Throws:
SAXException
- if there is a parsing problem.
-
getObject
Returns the object.- Returns:
- The object.
- Throws:
XmlReaderException
- ???
-