code: public void process(OutputStream outputStream, Object element) throws IOException {
          this.root.processElement(outputStream, element);
      }
docs: Process the output.
  
  @param outputStream the output stream to write to.
  @param element      the element to serialize.
  @throws IOException in the case of IO error.