code: public Content getHeader(String header) {
          String pkgname = (classDoc.containingPackage() != null)?
              classDoc.containingPackage().name(): "";
          String clname = classDoc.name();
          Content bodyTree = getBody(true, getWindowTitle(clname));
          addTop(bodyTree);
          addNavLinks(true, bodyTree);
          bodyTree.addContent(HtmlConstants.START_OF_CLASS_DATA);
          HtmlTree div = new HtmlTree(HtmlTag.DIV);
          div.addStyle(HtmlStyle.header);
          if (configuration.showProfiles) {
              String sep = "";
              int profile = configuration.profiles.getProfile(getTypeNameForProfile(classDoc));
              if (profile > 0) {
                  Content profNameContent = new StringContent();
                  for (int i = profile; i < configuration.profiles.getProfileCount(); i++) {
                      profNameContent.addContent(sep);
                      profNameContent.addContent(Profile.lookup(i).name);
                      sep = ", ";
                  }
                  Content profileNameDiv = HtmlTree.DIV(HtmlStyle.subTitle, profNameContent);
                  div.addContent(profileNameDiv);
              }
          }
          if (pkgname.length() > 0) {
              Content pkgNameContent = new StringContent(pkgname);
              Content pkgNameDiv = HtmlTree.DIV(HtmlStyle.subTitle, pkgNameContent);
              div.addContent(pkgNameDiv);
          }
          LinkInfoImpl linkInfo = new LinkInfoImpl(configuration,
                  LinkInfoImpl.Kind.CLASS_HEADER, classDoc);
          //Let's not link to ourselves in the header.
          linkInfo.linkToSelf = false;
          Content headerContent = new StringContent(header);
          Content heading = HtmlTree.HEADING(HtmlConstants.CLASS_PAGE_HEADING, true,
                  HtmlStyle.title, headerContent);
          heading.addContent(getTypeParameterLinks(linkInfo));
          div.addContent(heading);
          bodyTree.addContent(div);
          return bodyTree;
      }
docs: {@inheritDoc}