org.mortbay.html
Class Tag

java.lang.Object
  |
  +--org.mortbay.html.Element
        |
        +--org.mortbay.html.Tag
Direct Known Subclasses:
Break, Image, Input, StyleLink

public class Tag
extends Element

HTML Tag Element. A Tag element is of the generic form <TAG attributes... >

See Also:
Element

Field Summary
 
Fields inherited from class org.mortbay.html.Element
ALIGN, BGCOLOR, BOTTOM, CENTER, CLASS, COLOR, HEIGHT, ID, LEFT, MIDDLE, noAttributes, RIGHT, SIZE, STYLE, TOP, VALIGN, WIDTH
 
Constructor Summary
Tag(java.lang.String tag)
           
 
Method Summary
 void write(java.io.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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Tag

public Tag(java.lang.String tag)
Method Detail

write

public void write(java.io.Writer out)
           throws java.io.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.
java.io.IOException


Copyright ? 2000 Mortbay Consulting Pty. Ltd. All Rights Reserved.