org.eclipse.emf.ecore.resource.impl
Class ResourceFactoryImpl
java.lang.Object
org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl
- All Implemented Interfaces:
- Resource.Factory
- Direct Known Subclasses:
- Ecore2EcoreResourceFactoryImpl, Ecore2XMLResourceFactoryImpl, EcoreResourceFactoryImpl, EMOFResourceFactoryImpl, GenericXMLResourceFactoryImpl, XMIResourceFactoryImpl, XMLResourceFactoryImpl
- public class ResourceFactoryImpl
- extends Object
- implements Resource.Factory
A trivial implementation of a resource factory.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceFactoryImpl
public ResourceFactoryImpl()
- Creates an instance.
createResource
public Resource createResource(URI uri)
- Returns a newly allocated default resource
implementation
.
- Specified by:
createResource
in interface Resource.Factory
- Parameters:
uri
- the URI.
- Returns:
- a new resource for the URI.
- See Also:
ResourceSet.createResource(URI)