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