public interface BindContext
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getAttribute(java.lang.Object key)
Returns value of the given key in this Bind Context.
|
java.util.Map<java.lang.Object,java.lang.Object> |
getAttributes()
Returns a copy of all attributes in this Bind context.
|
Binder |
getBinder()
Returns associated Binder of this Bind context.
|
Binding |
getBinding()
Returns associated Binding of this Bind context.
|
java.lang.Object |
getBindingArg(java.lang.String key)
Returns binding arg value of the given key in this Bind Context.
|
java.lang.Object |
getCommandArg(java.lang.String key)
Returns command arg value of the given key in this Bind Context.
|
java.lang.String |
getCommandName()
Returns associated command name of this Bind Context; null if not involved.
|
Component |
getComponent()
Returns the associated component context.
|
java.lang.Object |
getConverterArg(java.lang.String key)
Returns converter arg value of the given key in this Bind Context.
|
Event |
getTriggerEvent()
Returns associated event that trigger the associated command; null if not involved.
|
java.lang.Object |
getValidatorArg(java.lang.String key)
Returns validator arg value of the given key in this Bind Context.
|
boolean |
isSave()
Returns whether currently is doing save operation.
|
java.lang.Object |
setAttribute(java.lang.Object key,
java.lang.Object value)
Sets given value to the given key in this Bind context.
|
Binder getBinder()
Binding getBinding()
java.lang.Object getAttribute(java.lang.Object key)
key
- the key to the value.java.lang.Object setAttribute(java.lang.Object key, java.lang.Object value)
key
- the key to the valuevalue
- the valuejava.util.Map<java.lang.Object,java.lang.Object> getAttributes()
boolean isSave()
java.lang.String getCommandName()
Component getComponent()
Event getTriggerEvent()
java.lang.Object getCommandArg(java.lang.String key)
key
- the key to the value.java.lang.Object getBindingArg(java.lang.String key)
key
- the key to the value.java.lang.Object getConverterArg(java.lang.String key)
key
- the key to the value.java.lang.Object getValidatorArg(java.lang.String key)
key
- the key to the value.Copyright © 2005-2011 Potix Corporation. All Rights Reserved.