org.jfree.report.modules.factories.data.sql

Class DriverConnectionReadHandler

Implemented Interfaces:
ConnectionReadHandler, XmlReadHandler

public class DriverConnectionReadHandler
extends AbstractXmlReadHandler
implements ConnectionReadHandler

Creation-Date: 07.04.2006, 18:09:25
Author:
Thomas Morgner

Constructor Summary

DriverConnectionReadHandler()

Method Summary

protected void
doneParsing()
Done parsing.
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.
ConnectionProvider
getProvider()

Constructor Details

DriverConnectionReadHandler

public DriverConnectionReadHandler()

Method Details

doneParsing

protected void doneParsing()
            throws SAXException
Done parsing.

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.

getProvider

public ConnectionProvider getProvider()
Specified by:
getProvider in interface ConnectionReadHandler