@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class OIDRegistry extends java.lang.Object implements java.io.Serializable
Modifier and Type | Method and Description |
---|---|
OIDRegistryItem |
get(OID oid)
Retrieves the OID registry item for the specified OID, if available.
|
OIDRegistryItem |
get(java.lang.String oid)
Retrieves the OID registry item for the specified OID, if available.
|
static OIDRegistry |
getDefault()
Retrieves the default instance of this OID registry.
|
java.util.Map<OID,OIDRegistryItem> |
getItems()
Retrieves an unmodifiable map of all items in the OID registry, indexed by
OID.
|
OIDRegistry |
withSchema(Schema schema)
Retrieves a copy of this OID registry that has been augmented with
information from the provided schema.
|
@NotNull public static OIDRegistry getDefault()
@NotNull public OIDRegistry withSchema(@NotNull Schema schema)
schema
- The schema that may be used to augment the information in
this OID registry. It must not be null
.@NotNull public java.util.Map<OID,OIDRegistryItem> getItems()
@Nullable public OIDRegistryItem get(@NotNull java.lang.String oid)
oid
- The OID for the item to retrieve.null
if
this registry does not have any information about the specified
OID.@Nullable public OIDRegistryItem get(@NotNull OID oid)
oid
- The OID for the item to retrieve.null
if
this registry does not have any information about the specified
OID.