Class BasicObjectReadHandler

    • Constructor Detail

      • BasicObjectReadHandler

        public BasicObjectReadHandler​(ObjectDescription objectDescription)
        Parameters:
        objectDescription - may be null.
    • 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
      • setObjectDescription

        protected void setObjectDescription​(ObjectDescription objectDescription)
      • getClassFactory

        protected ClassFactory getClassFactory()
      • handleStartParsing

        protected void handleStartParsing​(Attributes attrs)
                                   throws org.pentaho.reporting.libraries.xmlns.parser.ParseException
        Throws:
        org.pentaho.reporting.libraries.xmlns.parser.ParseException
      • doneParsing

        protected void doneParsing()
                            throws SAXException
        Done parsing.
        Overrides:
        doneParsing in class org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
        Throws:
        SAXException - if there is a parsing error.
      • getObject

        public Object getObject()
        Returns the object for this element or null, if this element does not create an object.
        Returns:
        the object.