code: public void buildPackageDoc(XMLNode node, Content contentTree) throws DocletException {
          contentTree = packageWriter.getPackageHeader(utils.getPackageName(packageElement));
          buildChildren(node, contentTree);
          packageWriter.addPackageFooter(contentTree);
          packageWriter.printDocument(contentTree);
          utils.copyDocFiles(packageElement);
      }
docs: Build the package documentation.
  
  @param node the XML element that specifies which components to document
  @param contentTree the content tree to which the documentation will be added
  @throws DocletException if there is a problem while building the documentation