org.eclipse.emf.ecore.impl
Class EPackageRegistryImpl
java.lang.Object
java.util.AbstractMap
java.util.HashMap
org.eclipse.emf.ecore.impl.EPackageRegistryImpl
- All Implemented Interfaces:
- Cloneable, EPackage.Registry, Map, Serializable
- public class EPackageRegistryImpl
- extends HashMap
- implements EPackage.Registry
An implementation of a package registry.
- See Also:
- Serialized Form
Methods inherited from class java.util.HashMap |
clear, clone, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from interface java.util.Map |
clear, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
delegateRegistry
protected EPackage.Registry delegateRegistry
classLoaderToRegistryMap
protected static Map classLoaderToRegistryMap
EPackageRegistryImpl
public EPackageRegistryImpl()
EPackageRegistryImpl
public EPackageRegistryImpl(EPackage.Registry delegateRegistry)
createGlobalRegistry
public static EPackage.Registry createGlobalRegistry()
getEPackage
public EPackage getEPackage(String nsURI)
- Description copied from interface:
EPackage.Registry
- Looks up the value in the map, converting
EPackage.Descriptor
objects to EPackage
objects on demand.
- Specified by:
getEPackage
in interface EPackage.Registry
initialize
protected void initialize(EPackage ePackage)
delegatedGetEPackage
protected EPackage delegatedGetEPackage(String nsURI)
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey
in interface Map
getRegistry
public static EPackage.Registry getRegistry(ClassLoader classLoader)