code: void writeStartDocument(final Writer output) throws SAXException {
          try {
              output.write(XML_HEAD);
          } catch (IOException e) {
              throw new SAXException(e);
          }
      }
docs: Convenience method to write document start.