Class OBRXMLParser.ResourceHandler

  • All Implemented Interfaces:
    org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler
    Enclosing class:
    OBRXMLParser

    static class OBRXMLParser.ResourceHandler
    extends DelegatingHandler
    • Constructor Detail

      • ResourceHandler

        public ResourceHandler()
    • Method Detail

      • handleAttributes

        protected void handleAttributes​(org.xml.sax.Attributes atts)
                                 throws org.xml.sax.SAXException
        Description copied from class: DelegatingHandler
        Called when the expected node is achieved; nothing to do by default.
        Overrides:
        handleAttributes in class DelegatingHandler
        Parameters:
        atts - the xml attributes attached to the expected node
        Throws:
        org.xml.sax.SAXException - in case the parsing should be completely stopped
      • getCurrentElementIdentifier

        protected java.lang.String getCurrentElementIdentifier()
        Description copied from class: DelegatingHandler
        Return an sort of identifier of the current element being parsed. It will only be used for logging purpose.
        Overrides:
        getCurrentElementIdentifier in class DelegatingHandler
        Returns:
        an empty string by default