Package eu.europa.esig.dss.enumerations
Enum TSLTypeEnum
- java.lang.Object
-
- java.lang.Enum<TSLTypeEnum>
-
- eu.europa.esig.dss.enumerations.TSLTypeEnum
-
- All Implemented Interfaces:
TSLType,UriBasedEnum,Serializable,Comparable<TSLTypeEnum>
public enum TSLTypeEnum extends Enum<TSLTypeEnum> implements TSLType
Defines common TSLType values supported by the implementation
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AdESlistofthelistsAdES List of the Trusted ListsEUgenericEU Trusted ListsEUlistofthelistsEU List of the Trusted Lists
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLabel()Gets labelStringgetUri()Returns a URIstatic TSLTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static TSLTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EUlistofthelists
public static final TSLTypeEnum EUlistofthelists
EU List of the Trusted Lists
-
EUgeneric
public static final TSLTypeEnum EUgeneric
EU Trusted Lists
-
AdESlistofthelists
public static final TSLTypeEnum AdESlistofthelists
AdES List of the Trusted Lists
-
-
Method Detail
-
values
public static TSLTypeEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TSLTypeEnum c : TSLTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TSLTypeEnum 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
-
getUri
public String getUri()
Description copied from interface:UriBasedEnumReturns a URI- Specified by:
getUriin interfaceUriBasedEnum- Returns:
String
-
-