org.jfree.report.modules.factories.report.flow

Class ReportReadHandler

Implemented Interfaces:
NodeReadHandler, XmlReadHandler

public class ReportReadHandler
extends SectionReadHandler

Creation-Date: 09.04.2006, 14:57:38
Author:
Thomas Morgner

Constructor Summary

ReportReadHandler()
Creates a new generic read handler.

Method Summary

protected void
doneParsing()
Done parsing.
protected Element
getElement()
protected XmlReadHandler
getHandlerForChild(String uri, String tagName, Attributes atts)
Returns the handler for a child element.

Methods inherited from class org.jfree.report.modules.factories.report.flow.SectionReadHandler

characters, configureElement, doneParsing, getElement, getHandlerForChild, startParsing

Methods inherited from class org.jfree.report.modules.factories.report.flow.AbstractElementReadHandler

configureElement, getElement, getHandlerForChild, getNode, getObject, getStyle, init, isEnabled, startParsing

Constructor Details

ReportReadHandler

public ReportReadHandler()
Creates a new generic read handler. The given namespace and tagname can be arbitary values and should not be confused with the ones provided by the XMLparser itself.

Method Details

doneParsing

protected void doneParsing()
            throws SAXException
Done parsing.
Overrides:
doneParsing in interface SectionReadHandler

getElement

protected Element getElement()
Overrides:
getElement in interface SectionReadHandler

getHandlerForChild

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