code: @Deprecated
      @Override
      public void setDocumentHandler(DocumentHandler handler) {
          contentHandler = new Adapter(handler);
          xmlNames = true;
      }
docs: <b>SAX1</b>: Set the document handler for this parser. If a content
  handler was set, this document handler will supplant it. The parser is
  set to report all XML 1.0 names rather than to filter out "xmlns"
  attributes (the "namespace-prefixes" feature is set to true).
  
  @deprecated SAX2 programs should use the XMLReader interface and a
  ContentHandler.
  
  @param handler
  The object to receive document events.