org.mortbay.html
Class Comment

java.lang.Object
  extended by org.mortbay.html.Element
      extended by org.mortbay.html.Composite
          extended by org.mortbay.html.Comment

public class Comment
extends Composite

HTML Comment.

Version:
$Id: Comment.java,v 1.2 2004/05/09 20:31:28 gregwilkins Exp $
Author:
Greg Wilkins (gregw)

Field Summary
 
Fields inherited from class org.mortbay.html.Composite
elements, nest
 
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
Comment()
           
 
Method Summary
 void write(Writer out)
          Write the composite.
 
Methods inherited from class org.mortbay.html.Composite
add, contents, nest, replace, reset, setNest, size, unnest
 
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, 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

Comment

public Comment()
Method Detail

write

public void write(Writer out)
           throws IOException
Description copied from class: Composite
Write the composite. The default implementation writes the elements sequentially. May be overridden for more specialized behaviour.

Overrides:
write in class Composite
Parameters:
out - Writer to write the element to.
Throws:
IOException


Copyright © 1995-2009 Mort Bay Consulting. All Rights Reserved.