Class AbstractMDXDataSourceReadHandler
- java.lang.Object
-
- org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
-
- org.pentaho.reporting.engine.classic.extensions.datasources.olap4j.parser.AbstractMDXDataSourceReadHandler
-
- All Implemented Interfaces:
org.pentaho.reporting.engine.classic.core.modules.parser.base.DataFactoryReadHandler
,org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler
- Direct Known Subclasses:
AbstractNamedMDXDataSourceReadHandler
,SimpleBandedMDXDataSourceReadHandler
,SimpleDenormalizedMDXDataSourceReadHandler
,SimpleLegacyBandedMDXDataSourceReadHandler
public abstract class AbstractMDXDataSourceReadHandler extends org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler implements org.pentaho.reporting.engine.classic.core.modules.parser.base.DataFactoryReadHandler
-
-
Constructor Summary
Constructors Constructor Description AbstractMDXDataSourceReadHandler()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract AbstractMDXDataFactory
createDataFactory(OlapConnectionProvider connectionProvider)
protected void
doneParsing()
Done parsing.org.pentaho.reporting.engine.classic.core.DataFactory
getDataFactory()
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.-
Methods inherited from class org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
characters, deriveParseParameters, endElement, getLocator, getRootHandler, getTagName, getUri, init, isSameNamespace, performExternalParsing, performExternalParsing, startElement, startParsing
-
-
-
-
Method Detail
-
getDataFactory
public org.pentaho.reporting.engine.classic.core.DataFactory getDataFactory()
- Specified by:
getDataFactory
in interfaceorg.pentaho.reporting.engine.classic.core.modules.parser.base.DataFactoryReadHandler
-
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.
-
doneParsing
protected void doneParsing() throws SAXException
Done parsing.- Overrides:
doneParsing
in classorg.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
- Throws:
SAXException
- if there is a parsing error.
-
createDataFactory
protected abstract AbstractMDXDataFactory createDataFactory(OlapConnectionProvider connectionProvider)
-
getObject
public Object getObject() throws SAXException
Returns the object for this element or null, if this element does not create an object.- Specified by:
getObject
in interfaceorg.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler
- Returns:
- the object.
- Throws:
SAXException
- if an parser error occured.
-
-