Enum SupportedEprUriScheme

java.lang.Object
java.lang.Enum<SupportedEprUriScheme>
org.somda.sdc.dpws.device.helper.SupportedEprUriScheme
All Implemented Interfaces:
Serializable, Comparable<SupportedEprUriScheme>, java.lang.constant.Constable

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.

  • Enum Constant Details

  • Method Details

    • values

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