Class SectionReadHandler
- java.lang.Object
-
- org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
-
- org.jfree.report.modules.factories.report.flow.AbstractElementReadHandler
-
- org.jfree.report.modules.factories.report.flow.SectionReadHandler
-
- All Implemented Interfaces:
NodeReadHandler,org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler
- Direct Known 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
Constructors Constructor Description SectionReadHandler()SectionReadHandler(Section section)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcharacters(char[] ch, int start, int length)This method is called to process the character data between element tags.protected voidconfigureElement(Element e)protected voiddoneParsing()Done parsing.protected ElementgetElement()protected org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandlergetHandlerForChild(java.lang.String uri, java.lang.String tagName, org.xml.sax.Attributes atts)Returns the handler for a child element.protected voidstartParsing(org.xml.sax.Attributes attrs)Starts parsing.-
Methods inherited from class org.jfree.report.modules.factories.report.flow.AbstractElementReadHandler
getNode, getObject, getStyle, init, isEnabled
-
Methods inherited from class org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
deriveParseParameters, endElement, getLocator, getRootHandler, getTagName, getUri, isSameNamespace, performExternalParsing, performExternalParsing, startElement
-
-
-
-
Constructor Detail
-
SectionReadHandler
public SectionReadHandler()
-
SectionReadHandler
public SectionReadHandler(Section section)
-
-
Method Detail
-
getElement
protected Element getElement()
- Specified by:
getElementin classAbstractElementReadHandler
-
startParsing
protected void startParsing(org.xml.sax.Attributes attrs) throws org.xml.sax.SAXExceptionStarts parsing.- Overrides:
startParsingin classAbstractElementReadHandler- Parameters:
attrs- the attributes.- Throws:
org.xml.sax.SAXException- if there is a parsing error.
-
configureElement
protected void configureElement(Element e)
- Overrides:
configureElementin classAbstractElementReadHandler
-
getHandlerForChild
protected org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler getHandlerForChild(java.lang.String uri, java.lang.String tagName, org.xml.sax.Attributes atts) throws org.xml.sax.SAXExceptionReturns the handler for a child element.- Overrides:
getHandlerForChildin classAbstractElementReadHandler- Parameters:
tagName- the tag name.atts- the attributes.- Returns:
- the handler or null, if the tagname is invalid.
- Throws:
org.xml.sax.SAXException- if there is a parsing error.
-
doneParsing
protected void doneParsing() throws org.xml.sax.SAXExceptionDone parsing.- Overrides:
doneParsingin classorg.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler- Throws:
org.xml.sax.SAXException- if there is a parsing error.
-
characters
public void characters(char[] ch, int start, int length) throws org.xml.sax.SAXExceptionThis method is called to process the character data between element tags.- Specified by:
charactersin interfaceorg.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler- Overrides:
charactersin classorg.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler- Parameters:
ch- the character buffer.start- the start index.length- the length.- Throws:
org.xml.sax.SAXException- if there is a parsing error.
-
-