org.pentaho.reporting.engine.classic.core.modules.parser.bundle.content
Class ContentRootElementHandler
java.lang.Object
org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
org.pentaho.reporting.engine.classic.core.modules.parser.bundle.content.ContentRootElementHandler
- All Implemented Interfaces:
- org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler
public class ContentRootElementHandler
- extends org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
The content root handler is the first handler that is parsed when dealing with bundle-reports. This file contains all
the forwards to the various report-files.
A bundle always contains a master-report. It is not possible to parse a full bundle into a subreport. However, it is
possible to parse the subreport xml files contained in a bundle into subreports, if needed.
- Author:
- Thomas Morgner
Method Summary |
Object |
getObject()
Returns the object for this element or null, if this element does not create an object. |
void |
init(org.pentaho.reporting.libraries.xmlns.parser.RootXmlReadHandler rootHandler,
String uri,
String tagName)
Initialises the handler. |
Methods inherited from class org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler |
characters, endElement, getLocator, getRootHandler, getTagName, getUri, startElement |
ContentRootElementHandler
public ContentRootElementHandler()
init
public void init(org.pentaho.reporting.libraries.xmlns.parser.RootXmlReadHandler rootHandler,
String uri,
String tagName)
- Initialises the handler.
- Specified by:
init
in interface org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler
- Overrides:
init
in class org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
- Parameters:
rootHandler
- the root handler.tagName
- the tag name.
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.