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.
-
HtmlFrameset(String)
- Create a Frameset with the given attributes.
-
addFrame(String)
- Add URL to Frameset.
-
addFrame(String, String)
- Embed URL in Frameset with given attributes.
-
addFrameset(HtmlFrameset)
- Embed a Frameset within this Frameset.
-
addNoFrame(HtmlElement)
- Add noframes tag to this Frameset.
-
addNoFrame(String)
- Add noframes tag to this Frameset.
-
toString()
-
-
wrap(String)
-
-
write(OutputStream)
-
HtmlFrameset
public HtmlFrameset(String attribs)
- Create a Frameset with the given attributes.
- Parameters:
- attribs - the attributes for this frameset ie. rows & cols.
addFrame
public void addFrame(String src)
- Add URL to Frameset.
- Parameters:
- src - url of document to embed in this frame
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.
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.
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.
addFrameset
public void addFrameset(HtmlFrameset frameset)
- Embed a Frameset within this Frameset.
- Parameters:
- frameset - Frameset to embed in this frameset.
wrap
public void wrap(String tags)
write
public void write(OutputStream out) throws IOException
toString
public String toString()
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index