Package org.somda.sdc.glue.common.uri
Class ParticipantKeyPurposeMapper
java.lang.Object
org.somda.sdc.glue.common.uri.ParticipantKeyPurposeMapper
Utility class to map between Participant Key Purpose URIs and OIDs.
This class implements the grammar defined in IEEE 11073-20701 section 9.3.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ParticipantKeyPurposeMapper
public ParticipantKeyPurposeMapper()
-
-
Method Details
-
fromOid
Creates a Participant Key Purpose URI out of an OID.- Parameters:
oid- the OID to convert.- Returns:
- the converted URI.
- Throws:
UriMapperGenerationArgumentException- in case no valid URI could be generated from the input.
-
fromUri
Creates an OID given a Participant Key Purpose encoded URI.- Parameters:
uri- the URI to convert.- Returns:
- the converted OID.
- Throws:
UriMapperParsingException- in case no valid URI was given.
-