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 XmlReadHandlergetHandlerForChild(String tagName, Attributes atts) Returns the child handler.Returns the object.protected voidstartParsing(Attributes attrs) Called at the start of parsing.Methods inherited from class 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:
startParsingin classAbstractXmlReadHandler- Parameters:
attrs- the attributes.- Throws:
SAXException- if there is a parsing error.
-
getHandlerForChild
Returns the child handler.- Overrides:
getHandlerForChildin 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- ???
-