public class GenderProtocolVersionValidator extends ProtocolVersionValidator<Gender>
Modifier and Type | Class and Description |
---|---|
static class |
GenderProtocolVersionValidator.Builder
Builder class for a Gender ProtocolVersion based validator.
|
Constructor and Description |
---|
GenderProtocolVersionValidator() |
Modifier and Type | Method and Description |
---|---|
static GenderProtocolVersionValidator.Builder |
Builder()
Method to get a GenderProtocolVersionValidator builder.
|
static GenderProtocolVersionValidator |
forProtocolVersion(EidasProtocolVersion protocolVersion)
Method to get a GenderProtocolVersionValidator builder for the given protocol version.
|
protected boolean |
isValidValue(Gender gender)
Gender value is validated with regards to the given eIDAS protocol versions.
|
getProtocolVersions
isValid, isValidationActive
protected boolean isValidValue(Gender gender)
isValidValue
in class BaseValueValidator<Gender>
gender
- the gender to validatepublic static GenderProtocolVersionValidator.Builder Builder()
public static GenderProtocolVersionValidator forProtocolVersion(EidasProtocolVersion protocolVersion)
protocolVersion
- the eidas protocol version the validator need to validate the gender with.Copyright © 2020. All Rights Reserved.