public enum ValidationGateName extends Enum<ValidationGateName> implements ValidationGate
Enum Constant and Description |
---|
BASIC |
BASICPLUS |
EXTENDED |
STANDARD |
STRICT |
Modifier and Type | Method and Description |
---|---|
ValidationGate |
getValidationGate() |
List<ConstraintViolation> |
validate(Document document,
Profile profile)
Validate a document against a profile.
|
static ValidationGateName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidationGateName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValidationGateName BASIC
public static final ValidationGateName BASICPLUS
public static final ValidationGateName STANDARD
public static final ValidationGateName EXTENDED
public static final ValidationGateName STRICT
public static ValidationGateName[] values()
for (ValidationGateName c : ValidationGateName.values()) System.out.println(c);
public static ValidationGateName valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic ValidationGate getValidationGate()
public List<ConstraintViolation> validate(Document document, Profile profile)
ValidationGate
validate
in interface ValidationGate
document
- the document to validate.profile
- the profile to validate the document againstCopyright © 2025 CESSDA ERIC. All rights reserved.