Class ResourceFactoryRegistryWithoutDefaults

  • All Implemented Interfaces:
    org.eclipse.emf.ecore.resource.Resource.Factory.Registry

    public class ResourceFactoryRegistryWithoutDefaults
    extends org.eclipse.emf.ecore.resource.impl.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.
    Author:
    Eike Stepper
    • Field Summary

      • Fields inherited from class org.eclipse.emf.ecore.resource.impl.ResourceFactoryRegistryImpl

        CONTENT_DESCRIPTION_OPTIONS, CONTENT_TYPE_REQUESTED_PROPERTIES, contentTypeIdentifierToFactoryMap, extensionToFactoryMap, protocolToFactoryMap
      • Fields inherited from interface org.eclipse.emf.ecore.resource.Resource.Factory.Registry

        DEFAULT_CONTENT_TYPE_IDENTIFIER, DEFAULT_EXTENSION, INSTANCE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.eclipse.emf.ecore.resource.Resource.Factory delegatedGetFactory​(org.eclipse.emf.common.util.URI uri, java.lang.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 org.eclipse.emf.ecore.resource.Resource.Factory delegatedGetFactory​(org.eclipse.emf.common.util.URI uri,
                                                                                      java.lang.String contentTypeIdentifier)
        Overrides:
        delegatedGetFactory in class org.eclipse.emf.ecore.resource.impl.ResourceFactoryRegistryImpl