{
    html = new html();

    head = new head();

    title = new title();

    frameset = new frameset();

    noframes = new noframes();

    body = new body();

    head.addElement(title);

    html.addElement(head);

    html.addElement(frameset);

    html.addElement(noframes);

    noframes.addElement(body);
  }
  /**
   * Allows the XhtmlFrameSetDocument to be cloned. Doesn't return an instanceof
   * XhtmlFrameSetDocument returns instance of html.
   */
  public Object clone() {

    return (html.clone());
  }
  /** Override the toString() method so that it prints something meaningful. */
  public final String toString(String codeset) {

    return (html.toString(codeset));
  }
  /** Override the toString() method so that it prints something meaningful. */
  public final String toString() {

    if (getCodeset() != null) return (html.toString(getCodeset()));
    else return (html.toString());
  }
  /** Write the container to the PrinteWriter */
  public void output(PrintWriter out) {

    // XhtmlFrameSetDocument is just a convient wrapper for html call html.output

    html.output(out);
  }
  /** Write the container to the OutputStream */
  public void output(OutputStream out) {

    // XhtmlFrameSetDocument is just a convient wrapper for html call html.output

    html.output(out);
  }