Enum SupportedEprUriScheme

  • All Implemented Interfaces:
    Serializable, Comparable<SupportedEprUriScheme>

    public enum SupportedEprUriScheme
    extends Enum<SupportedEprUriScheme>
    Enumeration of URI schemes that are supported to be used as an EPR address.

    The recommended way of creating a unique EPR address is the UUID approach. A comprehensive list of URI schemes is requestable from the IANA website.

    The device logic may use portions of the EPR address information to enrich XAddrs URL base paths. If an unknown URI type is given, then no extra information will be added.

    • Method Detail

      • values

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

        public static SupportedEprUriScheme 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
      • getSchemeName

        public String getSchemeName()
      • getSpecificPart

        public String getSpecificPart()