org.apache.wicket.protocol.http.documentvalidation
Class Comment

java.lang.Object
  extended by org.apache.wicket.protocol.http.documentvalidation.Comment
All Implemented Interfaces:
DocumentElement

public class Comment
extends java.lang.Object
implements DocumentElement

Class representing a comment in an HTML document.

Author:
Chris Turner

Constructor Summary
Comment(java.lang.String text)
          Create the comment.
 
Method Summary
 java.lang.String getText()
          Get the comment text.
 java.lang.String toString()
          Output a descriptive string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Comment

public Comment(java.lang.String text)
Create the comment.

Parameters:
text - The text for the comment
Method Detail

getText

public java.lang.String getText()
Get the comment text.

Returns:
The text

toString

public java.lang.String toString()
Output a descriptive string.

Overrides:
toString in class java.lang.Object
Returns:
The string


Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.