public class BroadleafCommonAddressValidator extends Object
SystemProperty "validator.custom.enabled"
If a custom validation is not performed, a generic set of address validation is used.
You may configure this validator to only validate a Full Name rather than a separate first and last name,
by setting the SystemProperty "validator.address.fullNameOnly"| Modifier and Type | Field and Description |
|---|---|
protected BroadleafCommonAddressValidatorExtensionManager |
validatorExtensionManager |
| Constructor and Description |
|---|
BroadleafCommonAddressValidator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCustomValidationEnabled() |
boolean |
isValidateFullNameOnly() |
void |
validate(BroadleafFormType formType,
Address address,
org.springframework.validation.Errors errors) |
protected BroadleafCommonAddressValidatorExtensionManager validatorExtensionManager
public boolean isValidateFullNameOnly()
public boolean isCustomValidationEnabled()
public void validate(BroadleafFormType formType, Address address, org.springframework.validation.Errors errors)
Copyright © 2015. All Rights Reserved.