org.jfree.xml.parser.coretypes

Class ListReadHandler

public class ListReadHandler extends AbstractXmlReadHandler

A SAX handler for reading a list from an XML element.
Constructor Summary
ListReadHandler()
Default constructor.
Method Summary
protected voiddoneParsing()
Parsing is finished.
protected XmlReadHandlergetHandlerForChild(String tagName, Attributes atts)
Gets a handler for a child.
ObjectgetObject()
Returns the object under construction.
protected voidstartParsing(Attributes attrs)
Start parsing.

Constructor Detail

ListReadHandler

public ListReadHandler()
Default constructor.

Method Detail

doneParsing

protected void doneParsing()
Parsing is finished.

Throws: SAXException if there is a parsing error. XmlReaderException if there is a problem with the reader.

getHandlerForChild

protected XmlReadHandler getHandlerForChild(String tagName, Attributes atts)
Gets a handler for a child.

Parameters: tagName the tag name. atts the attributes.

Returns: A handler.

Throws: XmlReaderException if there is a problem with the reader. SAXException if there is a parsing error.

getObject

public Object getObject()
Returns the object under construction.

Returns: The list.

startParsing

protected void startParsing(Attributes attrs)
Start parsing.

Parameters: attrs the attributes.

Throws: SAXException if there is a parsing error.