Enum UuidNamespace

    • Enum Constant Detail

      • NAMESPACE_DNS

        public static final UuidNamespace NAMESPACE_DNS
        Name space to be used when the name string is a fully-qualified domain name.
      • NAMESPACE_URL

        public static final UuidNamespace NAMESPACE_URL
        Name space to be used when the name string is a URL.
      • NAMESPACE_OID

        public static final UuidNamespace NAMESPACE_OID
        Name space to be used when the name string is an ISO OID.
      • NAMESPACE_X500

        public static final UuidNamespace NAMESPACE_X500
        Name space to be used when the name string is an X.500 DN (DER or text).
    • Method Detail

      • values

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

        public static UuidNamespace 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
      • getValue

        public UUID getValue()