public class CityStateOrZipValidator extends Object implements ConstraintValidator<CityStateOrZip,Address1>
Constructor and Description |
---|
CityStateOrZipValidator() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(CityStateOrZip constraintAnnotation) |
boolean |
isValid(Address1 address,
ConstraintValidatorContext context) |
public void initialize(CityStateOrZip constraintAnnotation)
initialize
in interface ConstraintValidator<CityStateOrZip,Address1>
public boolean isValid(Address1 address, ConstraintValidatorContext context)
isValid
in interface ConstraintValidator<CityStateOrZip,Address1>
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.