Class sun.server.html.HtmlContainerImpl
All Packages Class Hierarchy This Package Previous Next Index
Class sun.server.html.HtmlContainerImpl
java.lang.Object
|
+----sun.server.html.HtmlContainerImpl
- public class HtmlContainerImpl
- extends Object
- implements HtmlContainer
A container of HtmlElements
-
HtmlContainerImpl()
-
-
addElement(HtmlElement)
- adds HtmlElement to container
-
addTag(String)
- adds Tag to container
-
addTagPair(String, String)
- adds TagPair to container
-
addText(String)
- adds Text to container
-
elements()
- Returns Enumeration of htmlElements in this container
-
write(OutputStream)
- calls write on each of the elements in this container
HtmlContainerImpl
public HtmlContainerImpl()
addElement
public void addElement(HtmlElement element)
- adds HtmlElement to container
- Parameters:
- element - the HtmlElement to be added to this container
addText
public void addText(String text)
- adds Text to container
- Parameters:
- text - the text to be added to this container
addTag
public void addTag(String tag)
- adds Tag to container
- Parameters:
- tag - the Tag to be added to this container
addTagPair
public void addTagPair(String tag,
String text)
- adds TagPair to container
- Parameters:
- tag - the tag to be added to this container
- text - the text to be in the tag
elements
public Enumeration elements()
- Returns Enumeration of htmlElements in this container
write
public void write(OutputStream out) throws IOException
- calls write on each of the elements in this container
- Parameters:
- out - OutputStream container will write html to
All Packages Class Hierarchy This Package Previous Next Index