er.extensions.localization
Class ERXLocalizerAssociation
java.lang.Object
com.webobjects.appserver.WOAssociation
er.extensions.localization.ERXLocalizerAssociation
- All Implemented Interfaces:
- java.lang.Cloneable
public class ERXLocalizerAssociation
- extends com.webobjects.appserver.WOAssociation
Localizes the value it is bound to. Can handle both loc:value="SomeKey"
and
loc:value=someReturnValue
syntax.
Install with
WOOgnl.setAssociationClassForPrefix(ERXLocalizerAssociation.class, "loc");
- Author:
- ak
Nested classes/interfaces inherited from class com.webobjects.appserver.WOAssociation |
com.webobjects.appserver.WOAssociation._EventLoggingEnabler, com.webobjects.appserver.WOAssociation.Event |
Fields inherited from class com.webobjects.appserver.WOAssociation |
_BINDING_KEYPATH_PREFIX, _debugEnabled, _IsEventLoggingEnabled, TakeValueForKeyPathEvent, ValueForKeyPathEvent |
Methods inherited from class com.webobjects.appserver.WOAssociation |
_bindingName, _debugDescription, _declarationName, _declarationType, _hasBindingInParent, _isImplementedForComponent, _logPullValue, _logPushValue, _markStartOfEventIfNeeded, _setDebuggingEnabled, _setValueNoValidation, associationWithKeyPath, associationWithValue, booleanValueInComponent, isValueConstantInComponent, isValueSettable, isValueSettableInComponent, setDebugEnabledForBinding, setValue |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ERXLocalizerAssociation
public ERXLocalizerAssociation(java.lang.Object value,
boolean isConstant)
isValueConstant
public boolean isValueConstant()
- Overrides:
isValueConstant
in class com.webobjects.appserver.WOAssociation
valueInComponent
public java.lang.Object valueInComponent(com.webobjects.appserver.WOComponent wocomponent)
- Overrides:
valueInComponent
in class com.webobjects.appserver.WOAssociation
bindingInComponent
public java.lang.String bindingInComponent(com.webobjects.appserver.WOComponent wocomponent)
- Specified by:
bindingInComponent
in class com.webobjects.appserver.WOAssociation
keyPath
public java.lang.String keyPath()
- Specified by:
keyPath
in class com.webobjects.appserver.WOAssociation
clone
public java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class com.webobjects.appserver.WOAssociation
Copyright © 2002 – 2007 Project Wonder.