public class GenericReadHandler extends AbstractXmlReadHandler
Constructor and Description |
---|
GenericReadHandler(GenericObjectFactory factory)
Creates a new handler.
|
Modifier and Type | Method and Description |
---|---|
protected XmlReadHandler |
getHandlerForChild(java.lang.String tagName,
org.xml.sax.Attributes atts)
Returns the child handler.
|
java.lang.Object |
getObject()
Returns the object.
|
protected void |
startParsing(org.xml.sax.Attributes attrs)
Called at the start of parsing.
|
characters, doneParsing, endElement, getRootHandler, getTagName, init, startElement
public GenericReadHandler(GenericObjectFactory factory)
factory
- the generic object factory.protected void startParsing(org.xml.sax.Attributes attrs) throws org.xml.sax.SAXException
startParsing
in class AbstractXmlReadHandler
attrs
- the attributes.org.xml.sax.SAXException
- if there is a parsing error.protected XmlReadHandler getHandlerForChild(java.lang.String tagName, org.xml.sax.Attributes atts) throws org.xml.sax.SAXException
getHandlerForChild
in class AbstractXmlReadHandler
tagName
- the tag name.atts
- the attributes.org.xml.sax.SAXException
- if there is a parsing problem.public java.lang.Object getObject() throws XmlReaderException
XmlReaderException
- ???