|
Project Wonder 5.0.0.8787 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.webobjects.appserver.WOElement
com.webobjects.appserver.WOComponent
er.extensions.components.ERXComponent
er.extensions.components.ERXNonSynchronizingComponent
er.extensions.components.ERXStatelessComponent
public abstract class ERXStatelessComponent
Abstract stateless component used as the super class for a number of components within the ER frameworks. Adds a number of nice binding resolution methods.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.webobjects.appserver.WOComponent |
|---|
WOComponent._EventLoggingEnabler, WOComponent.Event |
| Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
|---|
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility |
| Nested classes/interfaces inherited from interface com.webobjects.foundation.NSValidation |
|---|
NSValidation._MethodBinding, NSValidation._ValidationBinding, NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException |
| Field Summary |
|---|
| Fields inherited from class er.extensions.components.ERXComponent |
|---|
_dynamicBindings |
| Fields inherited from class com.webobjects.appserver.WOComponent |
|---|
_Extension, _IsEventLoggingEnabled, _keyAssociations, MINUSONE |
| Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding.ErrorHandling |
|---|
_CLASS |
| Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
|---|
_CLASS, _KeyPathSeparatorChar, KeyPathSeparator |
| Fields inherited from interface com.webobjects.foundation.NSValidation |
|---|
_CLASS |
| Constructor Summary | |
|---|---|
ERXStatelessComponent(WOContext context)
Public constructor |
|
| Method Summary | |
|---|---|
boolean |
isStateless()
component is stateless |
void |
reset()
|
boolean |
valueForBooleanBinding(String binding)
Deprecated. use booleanValueForBinding() instead |
boolean |
valueForBooleanBinding(String binding,
boolean defaultValue)
Deprecated. use booleanValueForBinding() instead |
boolean |
valueForBooleanBinding(String binding,
ERXUtilities.BooleanOperation defaultValue)
Deprecated. use booleanValueForBinding() instead |
int |
valueForIntBinding(String binding,
int defaultValue)
Deprecated. use intValueForBinding() instead |
Object |
valueForObjectBinding(String binding)
Deprecated. use objectValueForBinding() instead |
Object |
valueForObjectBinding(String binding,
Object defaultValue)
Deprecated. use objectValueForBinding() instead |
| Methods inherited from class er.extensions.components.ERXNonSynchronizingComponent |
|---|
synchronizesVariablesWithBindings |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ERXStatelessComponent(WOContext context)
| Method Detail |
|---|
public boolean isStateless()
isStateless in class ERXNonSynchronizingComponent
public int valueForIntBinding(String binding,
int defaultValue)
binding - binding to be resolved as a int value.defaultValue - default int value to be used if the
binding is not bound.
public boolean valueForBooleanBinding(String binding)
binding - binding to be resolved as a boolean value.
public boolean valueForBooleanBinding(String binding,
boolean defaultValue)
valueForBooleanBinding in class WOComponentbinding - binding to be resolved as a boolean value.defaultValue - default boolean value to be used if the
binding is not bound.
public boolean valueForBooleanBinding(String binding,
ERXUtilities.BooleanOperation defaultValue)
binding - name of the component binding.defaultValue - boolean operator to be evaluated if the
binding is not present.
public Object valueForObjectBinding(String binding)
valueForBinding. This has the one advantage
of being able to resolve the resulting object as
a {link ERXUtilities$Operation} if it is an Operation and
then returning the result as the evaluation of that operation.
binding - name of the component binding.
public Object valueForObjectBinding(String binding,
Object defaultValue)
valueForBinding. This has the one advantage
of being able to resolve the resulting object as
a {link ERXUtilities$Operation} if it is an Operation and
then returning the result as the evaluation of that operation.
binding - name of the component binding.defaultValue - value to be used if valueForBinding
returns null.
public void reset()
reset in class ERXComponent
|
Last updated: Wed, Jan 7, 2009 04:35 AM EST | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||