@Override
  public void parse(InputSource input) throws SAXException {
    Assert.assertTrue(handler != null);

    handler.startDocument();

    AttributesImpl atts = new AttributesImpl();

    atts.addAttribute("", "", ID, "", String.valueOf(system.getConfig().getSystemId()));

    handler.startElement("", DISTRIBUTED_SYSTEM, DISTRIBUTED_SYSTEM, atts);

    // Add generation methods here
    try {
      generateRemoteCommand();
      generateDiscovery();
      generateSSL();
      generateCacheServers();

    } catch (AdminException ex) {
      throw new SAXException(
          "An AdminException was thrown while generating XML.",
          ex);
    }

    handler.endElement("", DISTRIBUTED_SYSTEM, DISTRIBUTED_SYSTEM);
    handler.endDocument();
  }
Called by the transformer to parse the "input source". We ignore the input source and, instead,
generate SAX events to the {@link #setContentHandler ContentHandler}.
geode-core/src/main/java/org/apache/geode/admin/internal/ManagedEntityConfigXmlGenerator.java