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:
EcoreResourceFactoryImpl, XMIResourceFactoryImpl, XMLResourceFactoryImpl

public class ResourceFactoryImpl
extends java.lang.Object
implements Resource.Factory

A trivial implementation of a resource factory.


Inner classes inherited from class org.eclipse.emf.ecore.resource.Resource.Factory
Resource.Factory.Descriptor, Resource.Factory.Registry
 
Constructor Summary
ResourceFactoryImpl()
          Creates an instance.
 
Method Summary
 Resource createResource(URI uri)
          Returns a newly allocated default resource implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceFactoryImpl

public ResourceFactoryImpl()
Creates an instance.
Method Detail

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.

Copyright 2001-2002 IBM Corporation and others.
All Rights Reserved.