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:
- java.lang.Cloneable, EPackage.Registry, java.util.Map, java.io.Serializable
- public class EPackageRegistryImpl
- extends java.util.HashMap
- implements EPackage.Registry
An implementation of a package registry.
- See Also:
- Serialized Form
Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
Methods inherited from class java.util.HashMap |
clear, clone, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
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 java.util.Map classLoaderToRegistryMap
EPackageRegistryImpl
public EPackageRegistryImpl()
EPackageRegistryImpl
public EPackageRegistryImpl(EPackage.Registry delegateRegistry)
createGlobalRegistry
public static EPackage.Registry createGlobalRegistry()
getEPackage
public EPackage getEPackage(java.lang.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(java.lang.String nsURI)
containsKey
public boolean containsKey(java.lang.Object key)
- Specified by:
containsKey
in interface java.util.Map
getRegistry
public static EPackage.Registry getRegistry(java.lang.ClassLoader classLoader)