org.apache.directory.shared.ldap.name
Class DnOidContainer

java.lang.Object
  extended byorg.apache.directory.shared.ldap.name.DnOidContainer

public class DnOidContainer
extends java.lang.Object

The DnOidContainer is a class which ill contain a global Map associating names to thier OIDs and Normalizer.

Author:
Apache Directory Project

Method Summary
static DnOidContainer getInstance()
           
static java.lang.Object getOidByName(java.lang.String name)
          Get the OID/Normalizer associated with the given name
static java.util.Map getOids()
          Get the Map
static void setOids(java.util.Map oids)
          Set the Map
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static DnOidContainer getInstance()

getOidByName

public static java.lang.Object getOidByName(java.lang.String name)
Get the OID/Normalizer associated with the given name

Parameters:
name - The type which OID is asked for
Returns:
The couple OID/Normalizer correspondning to the given name

getOids

public static java.util.Map getOids()
Get the Map

Returns:
The Oid Map

setOids

public static void setOids(java.util.Map oids)
Set the Map

Parameters:
oids - The Map to store


Copyright © 2003-2006 . All Rights Reserved.