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

Constructor Index

 o HtmlContainerImpl()

Method Index

 o addElement(HtmlElement)
adds HtmlElement to container
 o addTag(String)
adds Tag to container
 o addTagPair(String, String)
adds TagPair to container
 o addText(String)
adds Text to container
 o elements()
Returns Enumeration of htmlElements in this container
 o write(OutputStream)
calls write on each of the elements in this container

Constructors

 o HtmlContainerImpl
  public HtmlContainerImpl()

Methods

 o addElement
  public void addElement(HtmlElement element)
adds HtmlElement to container
Parameters:
element - the HtmlElement to be added to this container
 o addText
  public void addText(String text)
adds Text to container
Parameters:
text - the text to be added to this container
 o addTag
  public void addTag(String tag)
adds Tag to container
Parameters:
tag - the Tag to be added to this container
 o 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
 o elements
  public Enumeration elements()
Returns Enumeration of htmlElements in this container
 o 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