Class SelectedJNDIDataSourceReadHandler

  • All Implemented Interfaces:
    org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler

    public class SelectedJNDIDataSourceReadHandler
    extends org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
    • Constructor Detail

      • SelectedJNDIDataSourceReadHandler

        public SelectedJNDIDataSourceReadHandler()
    • 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 class org.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.