Class SelectedJNDIDataSourceReadHandler
- java.lang.Object
-
- org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
-
- org.pentaho.reporting.engine.classic.extensions.parsers.reportdesigner.datasets.SelectedJNDIDataSourceReadHandler
-
- All Implemented Interfaces:
org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler
public class SelectedJNDIDataSourceReadHandler extends org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
-
-
Constructor Summary
Constructors Constructor Description SelectedJNDIDataSourceReadHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getConnectionString()
String
getDriverClass()
String
getJndiName()
Object
getObject()
Returns the object for this element or null, if this element does not create an object.String
getPassword()
String
getUsername()
protected void
startParsing(Attributes attrs)
Starts parsing.-
Methods inherited from class org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
characters, deriveParseParameters, doneParsing, endElement, getHandlerForChild, getLocator, getRootHandler, getTagName, getUri, init, isSameNamespace, performExternalParsing, performExternalParsing, startElement
-
-
-
-
Method Detail
-
getJndiName
public String getJndiName()
-
getDriverClass
public String getDriverClass()
-
getConnectionString
public String getConnectionString()
-
getUsername
public String getUsername()
-
getPassword
public String getPassword()
-
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.
-
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.
-
-