com.mortbay.HTML
Class Tag

java.lang.Object
  |
  +--com.mortbay.HTML.Element
        |
        +--com.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
protected  java.lang.String tag
           
 
Fields inherited from class com.mortbay.HTML.Element
ALIGN, attributeMap, 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 This abstract method is called by the Page or other containing Element to write the HTML for this element.
 
Methods inherited from class com.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
 

Field Detail

tag

protected java.lang.String tag
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.
Overrides:
write in class Element
Tags copied from class: Element
Parameters:
out - Writer to write the element to.