Class GenericReadHandler

    • Field Detail

      • object

        private java.lang.Object object
        The object under construction.
      • objectRefHandlers

        private java.util.ArrayList objectRefHandlers
        The object reference handlers.
      • createdHandler

        private java.util.HashMap createdHandler
        The created handler.
    • Constructor Detail

      • GenericReadHandler

        public GenericReadHandler​(GenericObjectFactory factory)
        Creates a new handler.
        Parameters:
        factory - the generic object factory.
    • Method Detail

      • startParsing

        protected void startParsing​(org.xml.sax.Attributes attrs)
                             throws org.xml.sax.SAXException
        Called at the start of parsing.
        Overrides:
        startParsing in class AbstractXmlReadHandler
        Parameters:
        attrs - the attributes.
        Throws:
        org.xml.sax.SAXException - if there is a parsing error.
      • getHandlerForChild

        protected XmlReadHandler getHandlerForChild​(java.lang.String tagName,
                                                    org.xml.sax.Attributes atts)
                                             throws org.xml.sax.SAXException
        Returns the child handler.
        Overrides:
        getHandlerForChild in class AbstractXmlReadHandler
        Parameters:
        tagName - the tag name.
        atts - the attributes.
        Returns:
        The handler.
        Throws:
        org.xml.sax.SAXException - if there is a parsing problem.