Class ParticipantKeyPurposeMapper

  • All Implemented Interfaces:

    
    public class 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.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static String fromOid(Oid oid) Creates a Participant Key Purpose URI out of an OID.
      static Oid fromUri(String uri) Creates an OID given a Participant Key Purpose encoded URI.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ParticipantKeyPurposeMapper

        ParticipantKeyPurposeMapper()
    • Method Detail

      • fromOid

         static String fromOid(Oid oid)

        Creates a Participant Key Purpose URI out of an OID.

        Parameters:
        oid - the OID to convert.
        Returns:

        the converted URI.

      • fromUri

         static Oid fromUri(String uri)

        Creates an OID given a Participant Key Purpose encoded URI.

        Parameters:
        uri - the URI to convert.
        Returns:

        the converted OID.