org.jfree.xml.parser.coretypes
Class ListReadHandler

java.lang.Object
  extended byorg.jfree.xml.parser.AbstractXmlReadHandler
      extended byorg.jfree.xml.parser.coretypes.ListReadHandler
All Implemented Interfaces:
XmlReadHandler

public class ListReadHandler
extends AbstractXmlReadHandler

A SAX handler for reading a list from an XML element.


Field Summary
 
Fields inherited from class org.jfree.xml.parser.AbstractXmlReadHandler
rootHandler, tagName
 
Constructor Summary
ListReadHandler()
           
 
Method Summary
protected  void doneParsing()
          Done parsing.
protected  XmlReadHandler getHandlerForChild(java.lang.String tagName, org.xml.sax.Attributes atts)
          Returns the handler for a child element.
 java.lang.Object getObject()
          Returns the object under construction.
protected  void startParsing(org.xml.sax.Attributes attrs)
          Starts parsing.
 
Methods inherited from class org.jfree.xml.parser.AbstractXmlReadHandler
characters, endElement, getRootHandler, getTagName, init, startElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListReadHandler

public ListReadHandler()
Method Detail

startParsing

protected void startParsing(org.xml.sax.Attributes attrs)
                     throws org.xml.sax.SAXException
Description copied from class: AbstractXmlReadHandler
Starts parsing.

Overrides:
startParsing in class AbstractXmlReadHandler
Parameters:
attrs - the attributes.
Throws:
org.xml.sax.SAXException - if there is a parsing error.

getHandlerForChild

protected XmlReadHandler getHandlerForChild(java.lang.String tagName,
                                            org.xml.sax.Attributes atts)
                                     throws XmlReaderException,
                                            org.xml.sax.SAXException
Description copied from class: AbstractXmlReadHandler
Returns the handler for a child element.

Overrides:
getHandlerForChild in class AbstractXmlReadHandler
Parameters:
tagName - the tag name.
Returns:
the handler.
Throws:
org.xml.sax.SAXException - if there is a parsing error.
XmlReaderException

doneParsing

protected void doneParsing()
                    throws org.xml.sax.SAXException,
                           XmlReaderException
Description copied from class: AbstractXmlReadHandler
Done parsing.

Overrides:
doneParsing in class AbstractXmlReadHandler
Throws:
org.xml.sax.SAXException - if there is a parsing error.
XmlReaderException

getObject

public java.lang.Object getObject()
Returns the object under construction.

Returns:
the object.