Package eu.europa.esig.dss.enumerations
Enum EndorsementType
- java.lang.Object
-
- java.lang.Enum<EndorsementType>
-
- eu.europa.esig.dss.enumerations.EndorsementType
-
- All Implemented Interfaces:
Serializable,Comparable<EndorsementType>
public enum EndorsementType extends Enum<EndorsementType>
-
-
Method Summary
Modifier and Type Method Description static EndorsementTypefromString(String value)StringgetValue()static EndorsementTypevalueOf(String name)Returns the enum constant of this type with the specified name.static EndorsementType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CERTIFIED
public static final EndorsementType CERTIFIED
-
CLAIMED
public static final EndorsementType CLAIMED
-
SIGNED
public static final EndorsementType SIGNED
-
-
Method Detail
-
values
public static EndorsementType[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EndorsementType 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 nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
fromString
public static EndorsementType fromString(String value)
-
-