Interface sun.server.html.HtmlContainer
All Packages Class Hierarchy This Package Previous Next Index
Interface sun.server.html.HtmlContainer
- public interface HtmlContainer
- extends Object
- extends HtmlElement
A container of HtmlElements
-
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
addElement
public abstract void addElement(HtmlElement element)
- adds HtmlElement to container
- Parameters:
- element - the HtmlElement to be added to this container
addText
public abstract void addText(String text)
- adds Text to container
- Parameters:
- text - the text to be added to this container
addTag
public abstract void addTag(String tag)
- adds Tag to container
- Parameters:
- tag - the Tag to be added to this container
addTagPair
public abstract 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 abstract Enumeration elements()
- Returns Enumeration of htmlElements in this container
All Packages Class Hierarchy This Package Previous Next Index