Enum XacmlStatusCode

    • Enum Constant Detail

      • OK

        public static final XacmlStatusCode OK
        Standard identifier for the OK status
      • MISSING_ATTRIBUTE

        public static final XacmlStatusCode MISSING_ATTRIBUTE
        Standard identifier for the Missing Attribute status
      • SYNTAX_ERROR

        public static final XacmlStatusCode SYNTAX_ERROR
        Standard identifier for the Syntax Error status
      • PROCESSING_ERROR

        public static final XacmlStatusCode PROCESSING_ERROR
        Standard identifier for the Processing Error status
    • Method Detail

      • values

        public static XacmlStatusCode[] 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 (XacmlStatusCode c : XacmlStatusCode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static XacmlStatusCode 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 name
        NullPointerException - if the argument is null
      • value

        public String value()
        Get standard identifier (string), e.g. ""urn:oasis:names:tc:xacml:1.0:status:ok"" for OK
        Returns:
        identifier
      • fromValue

        public static XacmlStatusCode fromValue​(String id)
        Get constant from identifier
        Parameters:
        id - identifier
        Returns:
        status code enum