public class ISO3CountryCodeValidator extends Object implements AttributeValidator
Is capable of validating String
s.
Constructor and Description |
---|
ISO3CountryCodeValidator(boolean ignoreCase) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
Optional<AttributeValidationReport> |
validate(Attribute attribute)
Validates a single
Attribute . |
public Optional<AttributeValidationReport> validate(Attribute attribute)
validate
in interface AttributeValidator
attribute
- the Attribute
to validate, cannot be nullOptional
containing an AttributeValidationReport
if there are
violations, or an empty Optional
if there are no violationsThis work is licensed under a Creative Commons Attribution 4.0 International License.