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 |
Map<String,Object> |
getValidatorArgs()
Returns an argument
|
boolean |
hasValidator()
Returns whether to do validation.
|
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, getComponentvoid 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 validationCopyright © 2020. All rights reserved.