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.
-
HtmlTagPair(String)
-
-
HtmlTagPair(String, HtmlElement)
-
-
HtmlTagPair(String, String)
-
-
HtmlTagPair(String, Hashtable)
-
-
HtmlTagPair(String, Hashtable, String)
-
-
write(OutputStream)
-
HtmlTagPair
public HtmlTagPair(String tag)
- Parameters:
- tag - name of the tag
HtmlTagPair
public HtmlTagPair(String tag,
HtmlElement content)
- Parameters:
- tag - name of the tag
- content - String to embed within the tags
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
HtmlTagPair
public HtmlTagPair(String tag,
Hashtable properties)
- Parameters:
- tag - name of the tag
- properties - Hashtable of name=value pairs to embed in this tag
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
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