Class PhoneNumberValueValidator
- java.lang.Object
-
- de.knightsoftnet.validators.shared.impl.AbstractPhoneNumberValueValidator<PhoneNumberValue>
-
- de.knightsoftnet.validators.shared.impl.PhoneNumberValueValidator
-
- All Implemented Interfaces:
javax.validation.ConstraintValidator<PhoneNumberValue,Object>
public class PhoneNumberValueValidator extends AbstractPhoneNumberValueValidator<PhoneNumberValue>
Check a string if it's a valid PhoneNumber.- Author:
- Manfred Tremmel
-
-
Field Summary
-
Fields inherited from class de.knightsoftnet.validators.shared.impl.AbstractPhoneNumberValueValidator
allowCommon, allowDin5008, allowE123, allowLowerCaseCountryCode, allowMs, allowUri, fieldCountryCode, fieldPhoneNumber, message, phoneNumberUtil
-
-
Constructor Summary
Constructors Constructor Description PhoneNumberValueValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinitialize(PhoneNumberValue pconstraintAnnotation)initialize the validator.-
Methods inherited from class de.knightsoftnet.validators.shared.impl.AbstractPhoneNumberValueValidator
isValid
-
-
-
-
Method Detail
-
initialize
public final void initialize(PhoneNumberValue pconstraintAnnotation)
initialize the validator. initialize the validator.- Specified by:
initializein interfacejavax.validation.ConstraintValidator<PhoneNumberValue,Object>- Specified by:
initializein classAbstractPhoneNumberValueValidator<PhoneNumberValue>- See Also:
ConstraintValidator.initialize(java.lang.annotation.Annotation)
-
-