Project Wonder 5.0

er.extensions.components._private
Class ERXWOString

java.lang.Object
  extended by com.webobjects.appserver.WOElement
      extended by com.webobjects.appserver.WODynamicElement
          extended by er.extensions.components._private.ERXWOString

public class ERXWOString
extends com.webobjects.appserver.WODynamicElement

Reimplementation of WOString that can resolve localized format strings. This is very useful as most of the components in DirectToWeb use a "format"-String binding - so to use localized patterns, you'd need to re-implement all these components.

Author:
ak

Field Summary
protected  com.webobjects.appserver.WOAssociation _dateFormat
           
protected  com.webobjects.appserver.WOAssociation _escapeHTML
           
protected  com.webobjects.appserver.WOAssociation _formatter
           
protected  com.webobjects.appserver.WOAssociation _numberFormat
           
protected  com.webobjects.appserver.WOAssociation _value
           
protected  com.webobjects.appserver.WOAssociation _valueWhenEmpty
           
static org.apache.log4j.Logger log
           
 
Fields inherited from class com.webobjects.appserver.WODynamicElement
_ConstructorParameters
 
Constructor Summary
ERXWOString(java.lang.String s, com.webobjects.foundation.NSDictionary nsdictionary, com.webobjects.appserver.WOElement woelement)
           
 
Method Summary
 void appendToResponse(com.webobjects.appserver.WOResponse woresponse, com.webobjects.appserver.WOContext wocontext)
           
 
Methods inherited from class com.webobjects.appserver.WODynamicElement
toString
 
Methods inherited from class com.webobjects.appserver.WOElement
invokeAction, takeValuesFromRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

log

public static final org.apache.log4j.Logger log

_dateFormat

protected com.webobjects.appserver.WOAssociation _dateFormat

_numberFormat

protected com.webobjects.appserver.WOAssociation _numberFormat

_formatter

protected com.webobjects.appserver.WOAssociation _formatter

_value

protected com.webobjects.appserver.WOAssociation _value

_escapeHTML

protected com.webobjects.appserver.WOAssociation _escapeHTML

_valueWhenEmpty

protected com.webobjects.appserver.WOAssociation _valueWhenEmpty
Constructor Detail

ERXWOString

public ERXWOString(java.lang.String s,
                   com.webobjects.foundation.NSDictionary nsdictionary,
                   com.webobjects.appserver.WOElement woelement)
Method Detail

appendToResponse

public void appendToResponse(com.webobjects.appserver.WOResponse woresponse,
                             com.webobjects.appserver.WOContext wocontext)
Overrides:
appendToResponse in class com.webobjects.appserver.WOElement

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.