Class QueryReadHandler

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

    public class QueryReadHandler
    extends org.pentaho.reporting.libraries.xmlns.parser.PropertyReadHandler
    • Constructor Detail

      • QueryReadHandler

        public QueryReadHandler()
    • Method Detail

      • startParsing

        protected void startParsing​(Attributes attrs)
                             throws SAXException
        Starts parsing.
        Overrides:
        startParsing in class org.pentaho.reporting.libraries.xmlns.parser.PropertyReadHandler
        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 class org.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
        Overrides:
        doneParsing in class org.pentaho.reporting.libraries.xmlns.parser.StringReadHandler
        Throws:
        SAXException
      • getObject

        public Object getObject()
        Returns the object for this element or null, if this element does not create an object.
        Specified by:
        getObject in interface org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler
        Overrides:
        getObject in class org.pentaho.reporting.libraries.xmlns.parser.StringReadHandler
        Returns:
        the object.
        Throws:
        SAXException - if an parser error occured.
      • getQueryId

        public String getQueryId()
      • getQueryName

        public String getQueryName()
      • getParameters

        public org.pentaho.reporting.engine.classic.core.ParameterMapping[] getParameters()