org.eclipse.emf.ecore.impl
Class EPackageRegistryImpl.Delegator
java.lang.Object
org.eclipse.emf.ecore.impl.EPackageRegistryImpl.Delegator
- All Implemented Interfaces:
- EPackage.Registry, Map
- Enclosing class:
- EPackageRegistryImpl
- public static class EPackageRegistryImpl.Delegator
- extends Object
- implements EPackage.Registry
A package registry implementation that delegates to a class loader specific registry.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EPackageRegistryImpl.Delegator
public EPackageRegistryImpl.Delegator()
delegateRegistry
protected EPackage.Registry delegateRegistry(ClassLoader classLoader)
delegateRegistry
protected EPackage.Registry delegateRegistry()
getEPackage
public EPackage getEPackage(String key)
- 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
getEFactory
public EFactory getEFactory(String key)
- Description copied from interface:
EPackage.Registry
- Looks up the value in the map, converting
EPackage.Descriptor
objects to EFactory
objects on demand.
- Specified by:
getEFactory
in interface EPackage.Registry
size
public int size()
- Specified by:
size
in interface Map
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface Map
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey
in interface Map
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue
in interface Map
get
public Object get(Object key)
- Specified by:
get
in interface Map
put
public Object put(Object key,
Object value)
- Specified by:
put
in interface Map
remove
public Object remove(Object key)
- Specified by:
remove
in interface Map
putAll
public void putAll(Map map)
- Specified by:
putAll
in interface Map
clear
public void clear()
- Specified by:
clear
in interface Map
keySet
public Set keySet()
- Specified by:
keySet
in interface Map
values
public Collection values()
- Specified by:
values
in interface Map
entrySet
public Set entrySet()
- Specified by:
entrySet
in interface Map