org.eclipse.emf.cdo.spi.transfer
Class ResourceFactoryRegistryWithoutDefaults

java.lang.Object
  extended by org.eclipse.emf.ecore.resource.impl.ResourceFactoryRegistryImpl
      extended by org.eclipse.emf.cdo.spi.transfer.ResourceFactoryRegistryWithoutDefaults
All Implemented Interfaces:
Resource.Factory.Registry

public class ResourceFactoryRegistryWithoutDefaults
extends ResourceFactoryRegistryImpl

A resource factory registry that does not delegate and does not recognize default extensions or default content types. This registry can be used to determine whether a transfer element can be loaded as an EMF model resource or not.


Field Summary
 
Fields inherited from class org.eclipse.emf.ecore.resource.impl.ResourceFactoryRegistryImpl
CONTENT_DESCRIPTION_OPTIONS, contentTypeIdentifierToFactoryMap, extensionToFactoryMap, protocolToFactoryMap
 
Fields inherited from interface org.eclipse.emf.ecore.resource.Resource.Factory.Registry
DEFAULT_CONTENT_TYPE_IDENTIFIER, DEFAULT_EXTENSION, INSTANCE
 
Constructor Summary
ResourceFactoryRegistryWithoutDefaults()
           
 
Method Summary
protected  Resource.Factory delegatedGetFactory(URI uri, String contentTypeIdentifier)
           
 
Methods inherited from class org.eclipse.emf.ecore.resource.impl.ResourceFactoryRegistryImpl
convert, delegatedGetFactory, getContentDescriptionOptions, getContentTypeIdentifier, getContentTypeToFactoryMap, getExtensionToFactoryMap, getFactory, getFactory, getFactory, getProtocolToFactoryMap, getURIConverter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceFactoryRegistryWithoutDefaults

public ResourceFactoryRegistryWithoutDefaults()
Method Detail

delegatedGetFactory

protected Resource.Factory delegatedGetFactory(URI uri,
                                               String contentTypeIdentifier)
Overrides:
delegatedGetFactory in class ResourceFactoryRegistryImpl


Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.