Class UriBasedEnumParser
java.lang.Object
eu.europa.esig.validationreport.parsers.UriBasedEnumParser
public final class UriBasedEnumParser extends Object
Parser for different uri-based values
-
Method Summary
Modifier and Type Method Description static ConstraintStatus
parseConstraintStatus(String v)
Parses the string value and returnsConstraintStatus
static Indication
parseMainIndication(String v)
Parses the string value and returnsIndication
static ObjectType
parseObjectType(String v)
Parses the string value and returnsObjectType
static RevocationReason
parseRevocationReason(String v)
Parses the string value and returnsRevocationReason
static SignatureValidationProcessID
parseSignatureValidationProcessID(String v)
Parses the string value and returnsSignatureValidationProcessID
static SubIndication
parseSubIndication(String v)
Parses the string value and returnsSubIndication
static TypeOfProof
parseTypeOfProof(String v)
Parses the string value and returnsTypeOfProof
static String
print(UriBasedEnum v)
-
Method Details
-
parseMainIndication
Parses the string value and returnsIndication
- Parameters:
v
-String
- Returns:
Indication
, null if not able to parse
-
parseSubIndication
Parses the string value and returnsSubIndication
- Parameters:
v
-String
- Returns:
SubIndication
, null if not able to parse
-
parseObjectType
Parses the string value and returnsObjectType
- Parameters:
v
-String
- Returns:
ObjectType
, null if not able to parse
-
parseRevocationReason
Parses the string value and returnsRevocationReason
- Parameters:
v
-String
- Returns:
RevocationReason
, null if not able to parse
-
parseSignatureValidationProcessID
Parses the string value and returnsSignatureValidationProcessID
- Parameters:
v
-String
- Returns:
SignatureValidationProcessID
, null if not able to parse
-
parseTypeOfProof
Parses the string value and returnsTypeOfProof
- Parameters:
v
-String
- Returns:
TypeOfProof
, null if not able to parse
-
parseConstraintStatus
Parses the string value and returnsConstraintStatus
- Parameters:
v
-String
- Returns:
ConstraintStatus
, null if not able to parse
-
print
-