Enum XacmlDatatypeId

    • Field Detail

      • XML_SCHEMA_URI_PREFIX

        public static final String XML_SCHEMA_URI_PREFIX
        Prefix of URI of XML schema built-in datatypes (used in XACML), up to the '#' included: "http://www.w3.org/2001/XMLSchema#"
        See Also:
        Constant Field Values
      • XML_SCHEMA_URI_PREFIX_LENGTH

        public static final int XML_SCHEMA_URI_PREFIX_LENGTH
        Length of XML_SCHEMA_URI_PREFIX, used for extracting suffix from datatypes in order to create XACML function names, logging types of data, etc.
    • Method Detail

      • values

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

        public static XacmlDatatypeId 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 datatype URI
        Returns:
        datatype URI
      • fromValue

        public static XacmlDatatypeId fromValue​(String datatypeURI)
        Get datatype enum constant from datatype URI
        Parameters:
        datatypeURI - datatype idenfifier (URI)
        Returns:
        Datatype enum