Class sun.server.html.HtmlTag
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sun.server.html.HtmlTag

java.lang.Object
   |
   +----sun.server.html.HtmlTag

public class HtmlTag
extends Object
implements HtmlElement
Basic HtmlElement to write html tags in an html document.

Constructor Index

 o HtmlTag(String)
 o HtmlTag(String, Hashtable)

Method Index

 o write(OutputStream)

Constructors

 o HtmlTag
  public HtmlTag(String tag)
Parameters:
tag - the name of the tag
 o HtmlTag
  public HtmlTag(String tag,
                 Hashtable properties)
Parameters:
tag - the name of the tag
properties - hashtable of name=value pairs to embed in the tag

Methods

 o write
  public void write(OutputStream out) throws IOException
Parameters:
out - Output stream to write the tag to in html

All Packages  Class Hierarchy  This Package  Previous  Next  Index