Class ReportDesignerRootHandler

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

    public class ReportDesignerRootHandler
    extends org.pentaho.reporting.libraries.xmlns.parser.PropertiesReadHandler
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void doneParsing()
      Done parsing.
      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.
      void init​(org.pentaho.reporting.libraries.xmlns.parser.RootXmlReadHandler rootHandler, String uri, String tagName)
      Initialises the handler.
      protected void startParsing​(Attributes attrs)
      Starts parsing.
      • Methods inherited from class org.pentaho.reporting.libraries.xmlns.parser.PropertiesReadHandler

        getPropertyHandlers, getPropertyTagName, getResult
      • Methods inherited from class org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler

        characters, deriveParseParameters, endElement, getLocator, getRootHandler, getTagName, getUri, isSameNamespace, performExternalParsing, performExternalParsing, startElement
    • Constructor Detail

      • ReportDesignerRootHandler

        public ReportDesignerRootHandler()
    • Method Detail

      • init

        public void init​(org.pentaho.reporting.libraries.xmlns.parser.RootXmlReadHandler rootHandler,
                         String uri,
                         String tagName)
                  throws SAXException
        Initialises the handler.
        Specified by:
        init in interface org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler
        Overrides:
        init in class org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
        Parameters:
        rootHandler - the root handler.
        tagName - the tag name.
        Throws:
        SAXException
      • 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.
      • 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.PropertiesReadHandler
        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 class org.pentaho.reporting.libraries.xmlns.parser.PropertiesReadHandler
        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.
        Specified by:
        getObject in interface org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler
        Overrides:
        getObject in class org.pentaho.reporting.libraries.xmlns.parser.PropertiesReadHandler
        Returns:
        the object.
        Throws:
        SAXException - if an parser error occured.