Resource.Factory factory = Resource.Factory.Registry.INSTANCE.getFactory(URI.createURI("*.datagraph"));
result.put("datagraph", factory instanceof DataGraphResourceFactoryImpl ? factory : new DataGraphResourceFactoryImpl());
factory = Resource.Factory.Registry.INSTANCE.getFactory(URI.createURI("*.ecore"));
result.put("ecore", factory instanceof EcoreResourceFactoryImpl ? factory : new EcoreResourceFactoryImpl());
factory = Resource.Factory.Registry.INSTANCE.getFactory(URI.createURI("*.emof"));
result.put("emof", factory instanceof EMOFResourceFactoryImpl ? factory : new EMOFResourceFactoryImpl());
factory = Resource.Factory.Registry.INSTANCE.getFactory(URI.createURI("*.xsd"));