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

Class sun.server.html.HtmlTagPair

java.lang.Object
   |
   +----sun.server.html.HtmlContainerImpl
           |
           +----sun.server.html.HtmlTagPair

public class HtmlTagPair
extends HtmlContainerImpl
an HtmlContainer which embedds all of its elements within its tags.

Constructor Index

 o HtmlTagPair(String)
 o HtmlTagPair(String, HtmlElement)
 o HtmlTagPair(String, String)
 o HtmlTagPair(String, Hashtable)
 o HtmlTagPair(String, Hashtable, String)

Method Index

 o write(OutputStream)

Constructors

 o HtmlTagPair
  public HtmlTagPair(String tag)
Parameters:
tag - name of the tag
 o HtmlTagPair
  public HtmlTagPair(String tag,
                     HtmlElement content)
Parameters:
tag - name of the tag
content - String to embed within the tags
 o HtmlTagPair
  public HtmlTagPair(String tag,
                     String content)
Parameters:
tag - name of the tag
content - String to embed within the tags this is a short cut for adding an HtmlText element to the tag pair in a second step
 o HtmlTagPair
  public HtmlTagPair(String tag,
                     Hashtable properties)
Parameters:
tag - name of the tag
properties - Hashtable of name=value pairs to embed in this tag
 o HtmlTagPair
  public HtmlTagPair(String tag,
                     Hashtable properties,
                     String content)
Parameters:
tag - name of the tag
properties - Hashtable of name=value pairs to embed in this tag
content - String to embed within the tags this is a short cut for adding an HtmlText element to the tag pair in a second step

Methods

 o write
  public void write(OutputStream out) throws IOException
Parameters:
out - Output streaM to write html to
Overrides:
write in class HtmlContainerImpl

All Packages  Class Hierarchy  This Package  Previous  Next  Index