net.wotonomy.web
Class WOString
java.lang.Object
net.wotonomy.web.WOElement
net.wotonomy.web.WODynamicElement
net.wotonomy.web.WOString
- All Implemented Interfaces:
- java.io.Serializable, WOActionResults
public class WOString
- extends WODynamicElement
WOString renders a dynamically generated string in the output.
Bindings are:
- value: a property returning a value which will be rendered as the
output. If a formatter is not used, then the value must be convertable
to a String with toString().
- escapeHTML: a property returning a value convertable to a Boolean
indicating whether the any html characters in the output should be
escaped so they are shown as html characters rather than interpreted
as html.
- formatter: a property returning a Format object that will be
used to format the value into a String.
- dateformat: a property returning a DateFormat object that will be
used to format the value into a String.
- numberformat: a property returning a NumberFormat object that will be
used to format the value into a String. Not yet implemented.
- valueWhenEmpty: a property returning a String that will be used
in place of an empty or null value. Not yet implemented.
- Version:
- $Revision: 905 $
- Author:
- michael@mpowers.net, $Author: cgruber $
- See Also:
- Serialized Form
Constructor Summary |
protected |
WOString()
The default constructor. |
|
WOString(java.lang.String aName,
net.wotonomy.foundation.NSDictionary anAssociationMap,
WOElement aRootElement)
|
Method Summary |
void |
appendToResponse(WOResponse aResponse,
WOContext aContext)
This method is called on all elements of the content tree
to build a response to a user request. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
value
protected java.lang.Object value
escapeHTML
protected boolean escapeHTML
formatter
protected java.text.Format formatter
dateformat
protected java.lang.String dateformat
numberformat
protected java.lang.String numberformat
valueWhenEmpty
protected java.lang.Object valueWhenEmpty
WOString
protected WOString()
- The default constructor.
WOString
public WOString(java.lang.String aName,
net.wotonomy.foundation.NSDictionary anAssociationMap,
WOElement aRootElement)
appendToResponse
public void appendToResponse(WOResponse aResponse,
WOContext aContext)
- Description copied from class:
WODynamicElement
- This method is called on all elements of the content tree
to build a response to a user request. The message should
be forwarded to any child elements so that the entire tree
is traversed. This implementation does nothing.
- Overrides:
appendToResponse
in class WODynamicElement
Copyright © 2006 null. All Rights Reserved.