code: public void setHeader(HeaderFooter header) {
          this.header = header;
          DocListener listener;
  		for (Iterator iterator = listeners.iterator(); iterator.hasNext();) {
              listener = (DocListener) iterator.next();
              listener.setHeader(header);
          }
      }
docs: Changes the header of this document.
  
  @param header
  the new header