code: public void buildPackageSummary(XMLNode node, Content summaryContentTree) {
          PackageDoc[] packages = configuration.profilePackages.get(profile.name);
          for (int i = 0; i < packages.length; i++) {
              this.pkg = packages[i];
              Content packageSummaryContentTree = profileWriter.getPackageSummaryHeader(this.pkg);
              buildChildren(node, packageSummaryContentTree);
              summaryContentTree.addContent(profileWriter.getPackageSummaryTree(
                      packageSummaryContentTree));
          }
      }
docs: Build the profile package summary.
  
  @param node the XML element that specifies which components to document
  @param summaryContentTree the content tree to which the summaries will
  be added