Package org.apache.cxf.xkms.model.xkms
Enum RespondWithEnum
- java.lang.Object
-
- java.lang.Enum<RespondWithEnum>
-
- org.apache.cxf.xkms.model.xkms.RespondWithEnum
-
- All Implemented Interfaces:
Serializable,Comparable<RespondWithEnum>
public enum RespondWithEnum extends Enum<RespondWithEnum>
Java class for RespondWithEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="RespondWithEnum"> <restriction base="{http://www.w3.org/2001/XMLSchema}anyURI"> <enumeration value="http://www.w3.org/2002/03/xkms#KeyName"/> <enumeration value="http://www.w3.org/2002/03/xkms#KeyValue"/> <enumeration value="http://www.w3.org/2002/03/xkms#X509Cert"/> <enumeration value="http://www.w3.org/2002/03/xkms#X509Chain"/> <enumeration value="http://www.w3.org/2002/03/xkms#X509CRL"/> <enumeration value="http://www.w3.org/2002/03/xkms#RetrievalMethod"/> <enumeration value="http://www.w3.org/2002/03/xkms#PGP"/> <enumeration value="http://www.w3.org/2002/03/xkms#PGPWeb"/> <enumeration value="http://www.w3.org/2002/03/xkms#SPKI"/> <enumeration value="http://www.w3.org/2002/03/xkms#PrivateKey"/> </restriction> </simpleType>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RespondWithEnumfromValue(String v)Stringvalue()static RespondWithEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static RespondWithEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HTTP_WWW_W_3_ORG_2002_03_XKMS_KEY_NAME
public static final RespondWithEnum HTTP_WWW_W_3_ORG_2002_03_XKMS_KEY_NAME
-
HTTP_WWW_W_3_ORG_2002_03_XKMS_KEY_VALUE
public static final RespondWithEnum HTTP_WWW_W_3_ORG_2002_03_XKMS_KEY_VALUE
-
HTTP_WWW_W_3_ORG_2002_03_XKMS_X_509_CERT
public static final RespondWithEnum HTTP_WWW_W_3_ORG_2002_03_XKMS_X_509_CERT
-
HTTP_WWW_W_3_ORG_2002_03_XKMS_X_509_CHAIN
public static final RespondWithEnum HTTP_WWW_W_3_ORG_2002_03_XKMS_X_509_CHAIN
-
HTTP_WWW_W_3_ORG_2002_03_XKMS_X_509_CRL
public static final RespondWithEnum HTTP_WWW_W_3_ORG_2002_03_XKMS_X_509_CRL
-
HTTP_WWW_W_3_ORG_2002_03_XKMS_RETRIEVAL_METHOD
public static final RespondWithEnum HTTP_WWW_W_3_ORG_2002_03_XKMS_RETRIEVAL_METHOD
-
HTTP_WWW_W_3_ORG_2002_03_XKMS_PGP
public static final RespondWithEnum HTTP_WWW_W_3_ORG_2002_03_XKMS_PGP
-
HTTP_WWW_W_3_ORG_2002_03_XKMS_PGP_WEB
public static final RespondWithEnum HTTP_WWW_W_3_ORG_2002_03_XKMS_PGP_WEB
-
HTTP_WWW_W_3_ORG_2002_03_XKMS_SPKI
public static final RespondWithEnum HTTP_WWW_W_3_ORG_2002_03_XKMS_SPKI
-
HTTP_WWW_W_3_ORG_2002_03_XKMS_PRIVATE_KEY
public static final RespondWithEnum HTTP_WWW_W_3_ORG_2002_03_XKMS_PRIVATE_KEY
-
-
Method Detail
-
values
public static RespondWithEnum[] 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 (RespondWithEnum c : RespondWithEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RespondWithEnum 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
-
value
public String value()
-
fromValue
public static RespondWithEnum fromValue(String v)
-
-