Class ContentBasedResourceFactory

  • All Implemented Interfaces:
    org.eclipse.emf.ecore.resource.Resource.Factory, org.eclipse.xtext.resource.IResourceFactory

    public class ContentBasedResourceFactory
    extends Object
    implements org.eclipse.xtext.resource.IResourceFactory
    Resource factory implementation that returns resources based on provided URI content type. May be registered as EMF extension_parser for extensions that have several EMF content_parser for serveral content types.
    • Constructor Detail

      • ContentBasedResourceFactory

        public ContentBasedResourceFactory()
        Constructor
    • Method Detail

      • createResource

        public org.eclipse.emf.ecore.resource.Resource createResource​(org.eclipse.emf.common.util.URI uri)
        Specified by:
        createResource in interface org.eclipse.emf.ecore.resource.Resource.Factory