Class BandElementReadHandler
- java.lang.Object
-
- org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
-
- org.pentaho.reporting.libraries.xmlns.parser.PropertiesReadHandler
-
- org.pentaho.reporting.engine.classic.extensions.parsers.reportdesigner.elements.AbstractReportElementReadHandler
-
- org.pentaho.reporting.engine.classic.extensions.parsers.reportdesigner.elements.BandElementReadHandler
-
- All Implemented Interfaces:
org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler
- Direct Known Subclasses:
BandTopLevelElementReadHandler
public class BandElementReadHandler extends AbstractReportElementReadHandler
-
-
Constructor Summary
Constructors Constructor Description BandElementReadHandler(org.pentaho.reporting.engine.classic.core.Band band)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doneParsing()
Done parsing.org.pentaho.reporting.engine.classic.core.Band
getBand()
protected org.pentaho.reporting.engine.classic.core.Element
getElement()
protected org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler
getHandlerForChild(String uri, String tagName, Attributes atts)
Returns the handler for a child element.Object
getObject()
Returns the resulting properties collection, never null.-
Methods inherited from class org.pentaho.reporting.engine.classic.extensions.parsers.reportdesigner.elements.AbstractReportElementReadHandler
getStyle, getStyleExpressions
-
Methods inherited from class org.pentaho.reporting.libraries.xmlns.parser.PropertiesReadHandler
getPropertyHandlers, getPropertyTagName, getResult
-
-
-
-
Method Detail
-
getElement
protected org.pentaho.reporting.engine.classic.core.Element getElement()
- Specified by:
getElement
in classAbstractReportElementReadHandler
-
getHandlerForChild
protected org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler getHandlerForChild(String uri, String tagName, Attributes atts) throws SAXException
Returns the handler for a child element.- Overrides:
getHandlerForChild
in classAbstractReportElementReadHandler
- Parameters:
uri
- the URI of the namespace of the current element.tagName
- the tag name.atts
- the attributes.- Returns:
- the handler or null, if the tagname is invalid.
- Throws:
SAXException
- if there is a parsing error.
-
doneParsing
protected void doneParsing() throws SAXException
Done parsing.- Overrides:
doneParsing
in classAbstractReportElementReadHandler
- Throws:
SAXException
- if there is a parsing error.
-
getBand
public org.pentaho.reporting.engine.classic.core.Band getBand()
-
getObject
public Object getObject() throws SAXException
Returns the resulting properties collection, never null.- Specified by:
getObject
in interfaceorg.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler
- Overrides:
getObject
in classorg.pentaho.reporting.libraries.xmlns.parser.PropertiesReadHandler
- Returns:
- the properties.
- Throws:
SAXException
- if there is a parsing error.
-
-