ValidationStatus |
getStatus(ValidationStatus status)
Return combination of current status and given status according to next table:
Current value
Passed value
Result value
| INVALID_DOCUMENT
INVALID_DOCUMENT
INVALID_DOCUMENT
INVALID_STRUCTURE
INVALID_DOCUMENT
INVALID_METADATA
INVALID_DOCUMENT
VALID
INVALID_DOCUMENT
|
| INVALID_STRUCTURE
INVALID_DOCUMENT
INVALID_DOCUMENT
INVALID_STRUCTURE
INVALID_STRUCTURE
INVALID_METADATA
INVALID_DOCUMENT
VALID
INVALID_STRUCTURE
|
| INVALID_METADATA
INVALID_DOCUMENT
INVALID_DOCUMENT
INVALID_STRUCTURE
INVALID_DOCUMENT
INVALID_METADATA
INVALID_METADATA
VALID
INVALID_METADATA
|
| VALID
INVALID_DOCUMENT
INVALID_DOCUMENT
INVALID_STRUCTURE
INVALID_STRUCTURE
INVALID_METADATA
INVALID_METADATA
VALID
VALID
|
static ValidationStatus |
valueOf(int index)
Get validation status from integer value.
|
static ValidationStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidationStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
-
-
Method Detail
-
valueOf
public static ValidationStatus valueOf(String name)
Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null
Copyright © 2015–2021 The veraPDF Consortium. All rights reserved.
|