Class MondrianConnectionReadHandler
- java.lang.Object
-
- org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
-
- org.pentaho.reporting.engine.classic.extensions.datasources.mondrian.parser.MondrianConnectionReadHandler
-
- All Implemented Interfaces:
org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler
public class MondrianConnectionReadHandler extends org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
-
-
Constructor Summary
Constructors Constructor Description MondrianConnectionReadHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(AbstractMDXDataFactory dataFactory)
protected void
doneParsing()
Done parsing.CubeFileProvider
getCubeFileProvider()
DataSourceProvider
getDataSourceProvider()
String
getDesignTimeName()
protected org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler
getHandlerForChild(String uri, String tagName, Attributes atts)
Returns the handler for a child element.String
getJdbcPassword()
String
getJdbcPasswordField()
String
getJdbcUser()
String
getJdbcUserField()
Object
getObject()
Returns the object for this element or null, if this element does not create an object.String
getRole()
String
getRoleField()
protected void
startParsing(Attributes attrs)
Starts parsing.
-
-
-
Method Detail
-
getJdbcPassword
public String getJdbcPassword()
-
getJdbcUser
public String getJdbcUser()
-
getRole
public String getRole()
-
getRoleField
public String getRoleField()
-
getDesignTimeName
public String getDesignTimeName()
-
getCubeFileProvider
public CubeFileProvider getCubeFileProvider()
-
getDataSourceProvider
public DataSourceProvider getDataSourceProvider()
-
getJdbcPasswordField
public String getJdbcPasswordField()
-
getJdbcUserField
public String getJdbcUserField()
-
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.
-
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.
-
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 there is a parsing error.
-
configure
public void configure(AbstractMDXDataFactory dataFactory)
-
-