1 17 package org.eclipse.emf.ecore.resource; 18 19 20 import java.util.Map ; 21 22 import org.eclipse.emf.common.notify.Notifier; 23 import org.eclipse.emf.common.util.EList; 24 import org.eclipse.emf.common.util.TreeIterator; 25 import org.eclipse.emf.common.util.URI; 26 import org.eclipse.emf.ecore.EObject; 27 import org.eclipse.emf.ecore.EPackage; 28 29 30 56 public interface ResourceSet extends Notifier 57 { 58 61 int RESOURCE_SET__RESOURCES = 0; 62 63 73 EList getResources(); 74 75 83 TreeIterator getAllContents(); 84 85 101 EList getAdapterFactories(); 102 103 114 Map getLoadOptions(); 115 116 142 EObject getEObject(URI uri, boolean loadOnDemand); 143 144 177 Resource getResource(URI uri, boolean loadOnDemand); 178 179 194 Resource createResource(URI uri); 195 196 206 Resource.Factory.Registry getResourceFactoryRegistry(); 207 208 212 void setResourceFactoryRegistry(Resource.Factory.Registry resourceFactoryRegistry); 213 214 220 URIConverter getURIConverter(); 221 222 228 void setURIConverter(URIConverter converter); 229 230 240 EPackage.Registry getPackageRegistry(); 241 242 246 void setPackageRegistry(EPackage.Registry packageRegistry); 247 } 248 | Popular Tags |