A resource set manages a collection of related {@link #getResources resources}and produces notification for changes to that collection. It provides a {@link #getAllContents tree} of contents.A collection of {@link #getAdapterFactories adapter factories} supports {@link org.eclipse.emf.ecore.util.EcoreUtil#getRegisteredAdapter(EObject,Object) adapter lookup} via registered adapter factory.
A resource can be {@link #createResource(URI) created} or {@link #getResource(URI,boolean) demand loaded}into the collection. The {@link #getResourceFactoryRegistry registry} of resource factories can be configuredto create resources of the appropriate type. A proxy can be {@link #getEObject resolved} by the resource set, and may cause the demand load of a resource. Default {@link #getLoadOptions load options} are used during demand load.A {@link #getURIConverter URI converter} can be configured to normalize URIs for comparison and to monitor access to the backing store. Clients must extend the default {@link org.eclipse.emf.ecore.resource.impl.ResourceSetImpl implementation}, since methods can and will be added to this API.
@see Resource @see Resource.Factory @see URIConverter @see org.eclipse.emf.ecore.util.EcoreUtil#getRegisteredAdapter(EObject,Object) @see org.eclipse.emf.ecore.util.EcoreUtil#getRegisteredAdapter(Resource,Object)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|