org.jfree.report.modules.factories.data.beans

Class StaticDataSourceReadHandler

Implemented Interfaces:
DataFactoryReadHandler, XmlReadHandler

public class StaticDataSourceReadHandler
extends AbstractXmlReadHandler
implements DataFactoryReadHandler

Creation-Date: 07.04.2006, 17:47:53
Author:
Thomas Morgner

Constructor Summary

StaticDataSourceReadHandler()

Method Summary

protected void
doneParsing()
Done parsing.
ReportDataFactory
getDataFactory()
protected XmlReadHandler
getHandlerForChild(String uri, String tagName, Attributes atts)
Returns the handler for a child element.
Object
getObject()
Returns the object for this element or null, if this element does not create an object.

Constructor Details

StaticDataSourceReadHandler

public StaticDataSourceReadHandler()

Method Details

doneParsing

protected void doneParsing()
            throws SAXException
Done parsing.

getDataFactory

public ReportDataFactory getDataFactory()
Specified by:
getDataFactory in interface DataFactoryReadHandler

getHandlerForChild

protected XmlReadHandler getHandlerForChild(String uri,
                                            String tagName,
                                            Attributes atts)
            throws SAXException
Returns the handler for a child element.
Parameters:
tagName - the tag name.
atts - the attributes.
Returns:
the handler or null, if the tagname is invalid.

getObject

public Object getObject()
            throws SAXException
Returns the object for this element or null, if this element does not create an object.
Returns:
the object.