Enum Class XacmlStatusCode
- All Implemented Interfaces:
Serializable
,Comparable<XacmlStatusCode>
,Constable
XACML Resource scopes, as defined in XACML v3.0 Multiple Decision Profile Version 1.0, ยง6.1. The actual value
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionStandard identifier for the Missing Attribute statusStandard identifier for the OK statusStandard identifier for the Processing Error statusStandard identifier for the Syntax Error status -
Method Summary
Modifier and TypeMethodDescriptionstatic XacmlStatusCode
Get constant from identifiervalue()
Get standard identifier (string), e.g.static XacmlStatusCode
Returns the enum constant of this class with the specified name.static XacmlStatusCode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OK
Standard identifier for the OK status -
MISSING_ATTRIBUTE
Standard identifier for the Missing Attribute status -
SYNTAX_ERROR
Standard identifier for the Syntax Error status -
PROCESSING_ERROR
Standard identifier for the Processing Error status
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
value
Get standard identifier (string), e.g. ""urn:oasis:names:tc:xacml:1.0:status:ok"" forOK
- Returns:
- identifier
-
fromValue
Get constant from identifier- Parameters:
id
- identifier- Returns:
- status code enum
-