Class AbstractReportElementReadHandler
- 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
-
- All Implemented Interfaces:
org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler
- Direct Known Subclasses:
AbstractTextElementReadHandler
,AnchorFieldElementReadHandler
,BandElementReadHandler
,ChartElementReadHandler
,EllipseElementReadHandler
,LineReportElementReadHandler
,RectangleElementReadHandler
,StaticImageReportElementReadHandler
public abstract class AbstractReportElementReadHandler extends org.pentaho.reporting.libraries.xmlns.parser.PropertiesReadHandler
-
-
Constructor Summary
Constructors Constructor Description AbstractReportElementReadHandler()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
doneParsing()
Done parsing.protected abstract 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.protected org.pentaho.reporting.engine.classic.core.style.ElementStyleSheet
getStyle()
protected Map
getStyleExpressions()
-
Methods inherited from class org.pentaho.reporting.libraries.xmlns.parser.PropertiesReadHandler
getObject, getPropertyHandlers, getPropertyTagName, getResult
-
-
-
-
Method Detail
-
getStyle
protected org.pentaho.reporting.engine.classic.core.style.ElementStyleSheet getStyle()
-
getElement
protected abstract org.pentaho.reporting.engine.classic.core.Element getElement()
-
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 classorg.pentaho.reporting.libraries.xmlns.parser.PropertiesReadHandler
- 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 classorg.pentaho.reporting.libraries.xmlns.parser.PropertiesReadHandler
- Throws:
SAXException
- if there is a parsing error.
-
getStyleExpressions
protected Map getStyleExpressions() throws SAXException
- Throws:
SAXException
-
-