Class LayoutPreprocessorReadHandler
- java.lang.Object
-
- org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
-
- org.pentaho.reporting.engine.classic.core.modules.parser.bundle.layout.LayoutPreprocessorReadHandler
-
- All Implemented Interfaces:
org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler
public class LayoutPreprocessorReadHandler extends org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
This is a bean-handler. The layout-preprocessor provides beanified getter and setter methods (like any function).- Author:
- Thomas Morgner
-
-
Constructor Summary
Constructors Constructor Description LayoutPreprocessorReadHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 object for this element or null, if this element does not create an object.ReportPreProcessor
getPreProcessor()
protected void
startParsing(Attributes attrs)
Starts parsing.
-
-
-
Method Detail
-
startParsing
protected void startParsing(Attributes attrs) throws SAXException
Starts parsing.- Overrides:
startParsing
in classorg.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
- Parameters:
attrs
- the attributes.- Throws:
SAXException
- if there is a parsing error.
-
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.AbstractXmlReadHandler
- 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.
-
getPreProcessor
public ReportPreProcessor getPreProcessor()
-
getObject
public Object getObject() throws SAXException
Returns the object for this element or null, if this element does not create an object.- Returns:
- the object.
- Throws:
SAXException
- if an parser error occured.
-
-