public interface SaveBinding extends Binding
Modifier and Type | Method and Description |
---|---|
Property |
getValidate(BindContext ctx)
Returns
Property to be validated. |
Validator |
getValidator()
return
Validator to do validation |
java.util.Map<java.lang.String,java.lang.Object> |
getValidatorArgs()
Returns an argument
|
boolean |
hasValidator()
Returns whether to do validation. which means, if true, than getValidator should not return null
|
void |
save(BindContext ctx)
Save data from the source attribute into the target property.
|
void |
validate(ValidationContext vctx)
do the validation by validator
|
getArgs, getBinder, getComponent
void save(BindContext ctx)
ctx
- the binding runtime contextvoid validate(ValidationContext vctx)
vctx
- Property getValidate(BindContext ctx)
Property
to be validated.ctx
- the binding runtime contextProperty
to be validated.boolean hasValidator()
Validator getValidator()
Validator
to do validationjava.util.Map<java.lang.String,java.lang.Object> getValidatorArgs()
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.