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

Class SectionReadHandler

Implemented Interfaces:
NodeReadHandler, XmlReadHandler
Known Direct Subclasses:
DetailSectionReadHandler, GroupReadHandler, OutOfOrderSectionReadHandler, PageFooterReadHandler, PageHeaderReadHandler, ReportReadHandler, SubReportReadHandler

public class SectionReadHandler
extends AbstractElementReadHandler

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

Constructor Summary

SectionReadHandler()
SectionReadHandler(Section section)

Method Summary

void
characters(char[] ch, int start, int length)
This method is called to process the character data between element tags.
protected void
configureElement(Element e)
protected void
doneParsing()
Done parsing.
protected Element
getElement()
protected XmlReadHandler
getHandlerForChild(String uri, String tagName, Attributes atts)
Returns the handler for a child element.
protected void
startParsing(Attributes attrs)
Starts parsing.

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

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

Constructor Details

SectionReadHandler

public SectionReadHandler()

SectionReadHandler

public SectionReadHandler(Section section)

Method Details

characters

public void characters(char[] ch,
                       int start,
                       int length)
            throws SAXException
This method is called to process the character data between element tags.
Parameters:
ch - the character buffer.
start - the start index.
length - the length.

configureElement

protected void configureElement(Element e)
Overrides:
configureElement in interface AbstractElementReadHandler

doneParsing

protected void doneParsing()
            throws SAXException
Done parsing.

getElement

protected Element getElement()
Overrides:
getElement in interface AbstractElementReadHandler

getHandlerForChild

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

startParsing

protected void startParsing(Attributes attrs)
            throws SAXException
Starts parsing.
Overrides:
startParsing in interface AbstractElementReadHandler
Parameters:
attrs - the attributes.