All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class vnet.markup.Comment

java.lang.Object
   |
   +----vnet.markup.Comment

public class Comment
extends Object
implements MarkupNode
A generic XML/SGML/HTML-style markup comment.

Note: vnet.markup classes are not thread safe. Locking must be performed by the application.


Variable Index

 o text
The comment text.

Constructor Index

 o Comment()
Constructs a new Comment.
 o Comment(String)
Constructs a new Comment.

Method Index

 o setText(String)
Sets the comment's text.
 o toString()
 o toString(MarkupReader, int)

Variables

 o text
 protected String text
The comment text.

Constructors

 o Comment
 public Comment()
Constructs a new Comment.

 o Comment
 public Comment(String text)
Constructs a new Comment.

Parameters:
text - the Comment's text.

Methods

 o setText
 public void setText(String text)
Sets the comment's text.

Parameters:
text - the Comment's text.
 o toString
 public String toString()
Overrides:
toString in class Object
 o toString
 public boolean toString(MarkupReader reader,
                         int depth)

All Packages  Class Hierarchy  This Package  Previous  Next  Index