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.
-
text
- The comment text.
-
Comment()
- Constructs a new Comment.
-
Comment(String)
- Constructs a new Comment.
-
setText(String)
- Sets the comment's text.
-
toString()
-
-
toString(MarkupReader, int)
-
text
protected String text
- The comment text.
Comment
public Comment()
- Constructs a new Comment.
Comment
public Comment(String text)
- Constructs a new Comment.
- Parameters:
- text - the Comment's text.
setText
public void setText(String text)
- Sets the comment's text.
- Parameters:
- text - the Comment's text.
toString
public String toString()
- Overrides:
- toString in class Object
toString
public boolean toString(MarkupReader reader,
int depth)
All Packages Class Hierarchy This Package Previous Next Index