org.eclipse.gmt.umlx.alien.adapter
Class AlienXMIResourceSet

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.common.notify.impl.NotifierImpl
          extended by org.eclipse.emf.ecore.resource.impl.ResourceSetImpl
              extended by org.eclipse.gmt.umlx.registry.resource.EcoreFamilyResourceSetImpl
                  extended by org.eclipse.gmt.umlx.alien.adapter.AlienXMIResourceSet
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.resource.ResourceSet

public class AlienXMIResourceSet
extends org.eclipse.gmt.umlx.registry.resource.EcoreFamilyResourceSetImpl

An AlienXMIResourceSet extends the EcoreFamilyResourceSetImpl behaviour of loading content by namespace content to resolve any content loaded using adapters to return the adapted object when proxies are resolved.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.gmt.umlx.registry.resource.EcoreFamilyResourceSetImpl
org.eclipse.gmt.umlx.registry.resource.EcoreFamilyResourceSetImpl.ExceptionalResourceImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>
 
Field Summary
 
Fields inherited from interface org.eclipse.emf.ecore.resource.ResourceSet
RESOURCE_SET__RESOURCES
 
Constructor Summary
AlienXMIResourceSet()
           
 
Method Summary
 org.eclipse.emf.ecore.EObject getEObject(org.eclipse.emf.common.util.URI uri, boolean loadOnDemand)
           
 org.eclipse.emf.ecore.resource.Resource loadResource(java.io.InputStream inputStream, org.eclipse.emf.common.util.URI uri)
           
 
Methods inherited from class org.eclipse.emf.ecore.resource.impl.ResourceSetImpl
createResource, getAdapterFactories, getAllContents, getLoadOptions, getPackageRegistry, getResource, getResourceFactoryRegistry, getResources, getURIConverter, getURIResourceMap, setPackageRegistry, setResourceFactoryRegistry, setURIConverter, setURIResourceMap, toString
 
Methods inherited from class org.eclipse.emf.common.notify.impl.NotifierImpl
eAdapters, eDeliver, eSetDeliver
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Constructor Detail

AlienXMIResourceSet

public AlienXMIResourceSet()
Method Detail

getEObject

public org.eclipse.emf.ecore.EObject getEObject(org.eclipse.emf.common.util.URI uri,
                                                boolean loadOnDemand)
Specified by:
getEObject in interface org.eclipse.emf.ecore.resource.ResourceSet
Overrides:
getEObject in class org.eclipse.emf.ecore.resource.impl.ResourceSetImpl

loadResource

public org.eclipse.emf.ecore.resource.Resource loadResource(java.io.InputStream inputStream,
                                                            org.eclipse.emf.common.util.URI uri)
                                                     throws java.net.URISyntaxException,
                                                            java.lang.Exception
Overrides:
loadResource in class org.eclipse.gmt.umlx.registry.resource.EcoreFamilyResourceSetImpl
Throws:
java.net.URISyntaxException
java.lang.Exception