public static class EMFUtil.ExtResourceSet extends ResourceSetImpl
ResourceSetImpl that allows demandLoading of resources and delegation of resource lookups,
to be switched on/off as desired.ResourceSetImpl.MappedResourceLocator, ResourceSetImpl.ResourceLocator, ResourceSetImpl.ResourcesEList<E extends Object & Resource>BasicNotifierImpl.EAdapterList<E extends Object & Adapter>, BasicNotifierImpl.EObservableAdapterListadapterFactories, loadOptions, packageRegistry, resourceFactoryRegistry, resourceLocator, resources, uriConverter, uriResourceMapeAdapters, EDELIVER, eFlags, ELAST_NOTIFIER_FLAGRESOURCE_SET__RESOURCES| Modifier and Type | Method and Description |
|---|---|
protected Resource |
delegatedGetResource(URI uri,
boolean loadOnDemand) |
protected void |
demandLoad(Resource resource) |
boolean |
isDelegating() |
boolean |
isDemandLoading() |
void |
setDelegating(boolean delegating) |
void |
setDemandLoading(boolean demandLoading) |
createResource, createResource, demandCreateResource, demandLoadHelper, getAdapterFactories, getAllContents, getEObject, getLoadOptions, getPackageRegistry, getResource, getResourceFactoryRegistry, getResources, getURIConverter, getURIResourceMap, handleDemandLoadException, setPackageRegistry, setResourceFactoryRegistry, setURIConverter, setURIResourceMap, toStringeAdapters, eBasicAdapters, eDeliver, eSetDelivereBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waiteAdapters, eDeliver, eNotify, eSetDeliverpublic boolean isDelegating()
public void setDelegating(boolean delegating)
public boolean isDemandLoading()
public void setDemandLoading(boolean demandLoading)
protected void demandLoad(Resource resource) throws IOException
demandLoad in class ResourceSetImplIOExceptionprotected Resource delegatedGetResource(URI uri, boolean loadOnDemand)
delegatedGetResource in class ResourceSetImplCopyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html