org.mortbay.html
Class DefList

java.lang.Object
  extended by org.mortbay.html.Element
      extended by org.mortbay.html.DefList

public class DefList
extends Element


Field Summary
 
Fields inherited from class org.mortbay.html.Element
ALIGN, attributeMap, BGCOLOR, BOTTOM, CENTER, CLASS, COLOR, HEIGHT, ID, LEFT, MIDDLE, noAttributes, RIGHT, SIZE, STYLE, TOP, VALIGN, WIDTH
 
Constructor Summary
DefList()
           
 
Method Summary
 void add(Element term, Element def)
           
 void write(Writer out)
          Write element to a Writer.
 
Methods inherited from class org.mortbay.html.Element
attribute, attribute, attribute, attributes, attributes, bgColor, bottom, center, color, cssClass, cssID, height, height, height, left, middle, right, setAttributesFrom, size, size, size, style, top, toString, width, width, width, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefList

public DefList()
Method Detail

add

public void add(Element term,
                Element def)

write

public void write(Writer out)
           throws IOException
Description copied from class: Element
Write element to a Writer. This abstract method is called by the Page or other containing Element to write the HTML for this element. This must be implemented by the derived Element classes.

Specified by:
write in class Element
Parameters:
out - Writer to write the element to.
Throws:
IOException