Class java.servlet.html.HtmlFrameset
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.servlet.html.HtmlFrameset

java.lang.Object
   |
   +----java.servlet.html.HtmlFrameset

public class HtmlFrameset
extends Object
implements HtmlElement
Utility class for generating Frames in an html document.

Constructor Index

 o HtmlFrameset(String)
Create a Frameset with the given attributes.

Method Index

 o addFrame(String)
Add URL to Frameset.
 o addFrame(String, String)
Embed URL in Frameset with given attributes.
 o addFrameset(HtmlFrameset)
Embed a Frameset within this Frameset.
 o addNoFrame(HtmlElement)
Add noframes tag to this Frameset.
 o addNoFrame(String)
Add noframes tag to this Frameset.
 o toString()
 o wrap(String)
 o write(OutputStream)

Constructors

 o HtmlFrameset
  public HtmlFrameset(String attribs)
Create a Frameset with the given attributes.
Parameters:
attribs - the attributes for this frameset ie. rows & cols.

Methods

 o addFrame
  public void addFrame(String src)
Add URL to Frameset.
Parameters:
src - url of document to embed in this frame
 o addFrame
  public void addFrame(String src,
                       String attribs)
Embed URL in Frameset with given attributes.
Parameters:
src - URL of document to embed in this frame.
 o addNoFrame
  public void addNoFrame(String alt)
Add noframes tag to this Frameset.
Parameters:
alt - text to display in a noframes tag inside of this frameset.
 o addNoFrame
  public void addNoFrame(HtmlElement alt)
Add noframes tag to this Frameset.
Parameters:
alt - Element to display in a noframes tag inside of this frameset.
 o addFrameset
  public void addFrameset(HtmlFrameset frameset)
Embed a Frameset within this Frameset.
Parameters:
frameset - Frameset to embed in this frameset.
 o wrap
  public void wrap(String tags)
 o write
  public void write(OutputStream out) throws IOException
 o toString
  public String toString()
Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index