public class BindContextImpl extends java.lang.Object implements BindContext, java.io.Serializable
BindContext.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BINDING_ARGS |
static java.lang.String |
COMMAND_ARGS |
static java.lang.String |
CONVERTER_ARGS |
static java.lang.String |
VALIDATOR_ARGS |
| Constructor and Description |
|---|
BindContextImpl(Binder binder,
Binding binding,
boolean save,
java.lang.String command,
Component comp,
Event event) |
| 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.util.Map<java.lang.String,java.lang.Object> |
getBindingArgs() |
java.lang.Object |
getCommandArg(java.lang.String key)
Returns command arg value of the given key in this Bind Context.
|
java.util.Map<java.lang.String,java.lang.Object> |
getCommandArgs() |
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.
|
java.util.Map<java.lang.String,java.lang.Object> |
getConverterArgs() |
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.
|
java.util.Map<java.lang.String,java.lang.Object> |
getValidatorArgs() |
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.
|
public static final java.lang.String COMMAND_ARGS
public static final java.lang.String BINDING_ARGS
public static final java.lang.String VALIDATOR_ARGS
public static final java.lang.String CONVERTER_ARGS
public Binder getBinder()
BindContextgetBinder in interface BindContextpublic Binding getBinding()
BindContextgetBinding in interface BindContextpublic java.lang.Object getAttribute(java.lang.Object key)
BindContextgetAttribute in interface BindContextkey - the key to the value.public java.lang.Object setAttribute(java.lang.Object key,
java.lang.Object value)
BindContextsetAttribute in interface BindContextkey - the key to the valuevalue - the valuepublic java.util.Map<java.lang.Object,java.lang.Object> getAttributes()
BindContextgetAttributes in interface BindContextpublic java.lang.Object getCommandArg(java.lang.String key)
BindContextgetCommandArg in interface BindContextkey - the key to the value.public java.lang.Object getBindingArg(java.lang.String key)
BindContextgetBindingArg in interface BindContextkey - the key to the value.public java.lang.Object getConverterArg(java.lang.String key)
BindContextgetConverterArg in interface BindContextkey - the key to the value.public java.lang.Object getValidatorArg(java.lang.String key)
BindContextgetValidatorArg in interface BindContextkey - the key to the value.public java.util.Map<java.lang.String,java.lang.Object> getCommandArgs()
public java.util.Map<java.lang.String,java.lang.Object> getBindingArgs()
public java.util.Map<java.lang.String,java.lang.Object> getConverterArgs()
public java.util.Map<java.lang.String,java.lang.Object> getValidatorArgs()
public boolean isSave()
BindContextisSave in interface BindContextpublic java.lang.String getCommandName()
BindContextgetCommandName in interface BindContextpublic Component getComponent()
BindContextgetComponent in interface BindContextpublic Event getTriggerEvent()
BindContextgetTriggerEvent in interface BindContextCopyright © 2005-2011 Potix Corporation. All Rights Reserved.