Package com.unboundid.util
Class OIDRegistry
java.lang.Object
com.unboundid.util.OIDRegistry
- All Implemented Interfaces:
Serializable
@NotMutable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public final class OIDRegistry
extends Object
implements Serializable
This class represents a data structure with information about a variety of
object identifiers (OIDs) used in LDAP-related contexts.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the OID registry item for the specified OID, if available.Retrieves the OID registry item for the specified OID, if available.static OIDRegistryRetrieves the default instance of this OID registry.getItems()Retrieves an unmodifiable map of all items in the OID registry, indexed by OID.withSchema(Schema schema) Retrieves a copy of this OID registry that has been augmented with information from the provided schema.
-
Method Details
-
getDefault
Retrieves the default instance of this OID registry.- Returns:
- The default instance of this OID registry.
-
withSchema
Retrieves a copy of this OID registry that has been augmented with information from the provided schema.- Parameters:
schema- The schema that may be used to augment the information in this OID registry. It must not benull.- Returns:
- A copy of this OID registry that has been augmented with information from the provided schema.
-
getItems
Retrieves an unmodifiable map of all items in the OID registry, indexed by OID.- Returns:
- An unmodifiable map of all items in the OID registry, indexed by OID.
-
get
Retrieves the OID registry item for the specified OID, if available.- Parameters:
oid- The OID for the item to retrieve.- Returns:
- The OID registry item for the specified OID, or
nullif this registry does not have any information about the specified OID.
-
get
Retrieves the OID registry item for the specified OID, if available.- Parameters:
oid- The OID for the item to retrieve.- Returns:
- The OID registry item for the specified OID, or
nullif this registry does not have any information about the specified OID.
-