ERXProxyAssociation Class Reference

Inherits com::webobjects::appserver::WOAssociation.

Collaboration diagram for ERXProxyAssociation:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void _setValueNoValidation (Object obj, WOComponent wocomponent)
String bindingInComponent (WOComponent wocomponent)
Object clone ()
 ERXProxyAssociation (WOAssociation proxiedAssociation, String prefix, String suffix, boolean treatNullAsEmptyString)
boolean isValueConstant ()
boolean isValueSettable ()
String keyPath ()
void setValue (Object obj, WOComponent wocomponent)
String toString ()
Object valueInComponent (WOComponent wocomponent)

Protected Member Functions

Object processValue (Object obj)

Private Attributes

String _prefix
WOAssociation _proxiedAssociation
String _suffix
boolean _treatNullAsEmptyString


Detailed Description

ERXProxyAssociation allows you to create a wrapper around an existing association for the purposes of injecting a prefix or a suffix to the association's value. This is useful in, for instance, dynamic elements where you want to guarantee that a particular CSS class is prepended to an existing "class" binding where you don't necessarily have easy access to the original "class" WOAssociation (like if you extend WOHyperlink, for example).

Author:
mschrag

Constructor & Destructor Documentation

ERXProxyAssociation ( WOAssociation  proxiedAssociation,
String  prefix,
String  suffix,
boolean  treatNullAsEmptyString 
)


Member Function Documentation

void _setValueNoValidation ( Object  obj,
WOComponent  wocomponent 
)

String bindingInComponent ( WOComponent  wocomponent  ) 

Object clone (  ) 

boolean isValueConstant (  ) 

boolean isValueSettable (  ) 

String keyPath (  ) 

Object processValue ( Object  obj  )  [protected]

void setValue ( Object  obj,
WOComponent  wocomponent 
)

String toString (  ) 

Object valueInComponent ( WOComponent  wocomponent  ) 


Member Data Documentation

String _prefix [private]

WOAssociation _proxiedAssociation [private]

String _suffix [private]

boolean _treatNullAsEmptyString [private]


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:43:02 2012 for Project Wonder by  doxygen 1.5.8