code: private void setupParsing() throws SAXException{
          parent.setEntityResolver(handler);
          parent.setDTDHandler(handler);
          parent.setContentHandler(handler);
          parent.setErrorHandler(handler);
          parent.setProperty(SAXProperties.LEXICAL_HANDLER, handler);
          parent.setProperty(SAXProperties.DECL_HANDLER_ALT, handler);
      }
docs: /*-------------------------------------------------[ Parsing ]---------------------------------------------------