예제 #1
0
  {
    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);
  }
예제 #2
0
  /**
   * Allows the XhtmlFrameSetDocument to be cloned. Doesn't return an instanceof
   * XhtmlFrameSetDocument returns instance of html.
   */
  public Object clone() {

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

    return (html.toString(codeset));
  }
예제 #4
0
  /** 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());
  }
예제 #5
0
  /** 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);
  }
예제 #6
0
  /** 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);
  }