Package org.somda.sdc.dpws.device.helper
Enum SupportedEprUriScheme
- All Implemented Interfaces:
Serializable,Comparable<SupportedEprUriScheme>,java.lang.constant.Constable
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic SupportedEprUriSchemeReturns the enum constant of this type with the specified name.static SupportedEprUriScheme[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
HTTP
HTTP URI scheme.- See Also:
-
HTTPS
HTTPS URI scheme.- See Also:
-
URN_UUID
URN URI scheme with namespace uuid.- See Also:
-
URN_OID
URN URI scheme with namespace oid.- See Also:
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getSchemeName
-
getSpecificPart
-