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

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

public class TextContent
extends java.lang.Object
implements DocumentElement

Class representing text content that can appear within an element.

Author:
Chris Turner

Constructor Summary
TextContent(java.lang.String value)
          Construct the text content with the expected value.
 
Method Summary
 java.lang.String getValue()
          Get the value of this text content.
 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

TextContent

public TextContent(java.lang.String value)
Construct the text content with the expected value.

Parameters:
value - The value
Method Detail

getValue

public java.lang.String getValue()
Get the value of this text content.

Returns:
The value

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.