net.sac.htmlwriter.element
Class ListElement

java.lang.Object
  extended by net.sac.htmlwriter.element.Element
      extended by net.sac.htmlwriter.element.ListElement
Direct Known Subclasses:
Ol, Ul

public abstract class ListElement
extends Element


Field Summary
 
Fields inherited from class net.sac.htmlwriter.element.Element
ALLOWED_CHILD_TAGS_NONE, ALLOWED_CHILD_TAGS_TEXT_ONLY
 
Constructor Summary
ListElement()
           
 
Method Summary
 void addListItem(Element element)
           
 void addListItem(java.lang.String text)
           
 
Methods inherited from class net.sac.htmlwriter.element.Element
addAttribute, addChild, getAttribute, getChild, getChildIndex, getChildren, getTagName, insertChild, setAttribute, toHtml
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListElement

public ListElement()
Method Detail

addListItem

public void addListItem(Element element)
                 throws HtmlException
Throws:
HtmlException

addListItem

public void addListItem(java.lang.String text)
                 throws HtmlException
Throws:
HtmlException