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 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 org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler
getHandlerForChild(java.lang.String uri, java.lang.String tagName, org.xml.sax.Attributes atts)
Returns the handler for a child element.protected void
startParsing(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:
getElement
in classAbstractElementReadHandler
-
startParsing
protected void startParsing(org.xml.sax.Attributes attrs) throws org.xml.sax.SAXException
Starts parsing.- Overrides:
startParsing
in classAbstractElementReadHandler
- Parameters:
attrs
- the attributes.- Throws:
org.xml.sax.SAXException
- if there is a parsing error.
-
configureElement
protected void configureElement(Element e)
- Overrides:
configureElement
in 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.SAXException
Returns the handler for a child element.- Overrides:
getHandlerForChild
in 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.SAXException
Done parsing.- Overrides:
doneParsing
in 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.SAXException
This method is called to process the character data between element tags.- Specified by:
characters
in interfaceorg.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler
- Overrides:
characters
in 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.
-
-