locked
property. This class can be used to safely expose resource path sets to user classes without having to clone them in order to avoid modifications. When first created, a ResourceMap
is not locked.
@author Craig R. McClanahan
@version $Revision: 466595 $ $Date: 2006-10-21 23:24:41 +0100 (Sat, 21 Oct 2006) $
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)Classes implementing this interface manage sets of resources. They support event notification on changes and are more heavy-weight than plain arrays or sets. For intermediate calculations that do not require events etc, consider using a {@link LightweightList} via {@link CollectionFactory}.
IMPLEMENTATION NOTE: This interface originally extended java.util.Set
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|