code: public void build() throws IOException {
          if (! serialClassFoundToDocument(configuration.root.classes())) {
              //Nothing to document.
              return;
          }
          try {
              writer = configuration.getWriterFactory().getSerializedFormWriter();
              if (writer == null) {
                  //Doclet does not support this output.
                  return;
              }
          } catch (Exception e) {
              throw new DocletAbortException(e);
          }
          build(layoutParser.parseXML(NAME), contentTree);
          writer.close();
      }
docs: Build the serialized form.