1 /** 2 * <copyright> 3 * 4 * Copyright (c) 2002-2004 IBM Corporation and others. 5 * All rights reserved. This program and the accompanying materials 6 * are made available under the terms of the Eclipse Public License v1.0 7 * which accompanies this distribution, and is available at 8 * http://www.eclipse.org/legal/epl-v10.html 9 * 10 * Contributors: 11 * IBM - Initial API and implementation 12 * 13 * </copyright> 14 * 15 * $Id: XMLResourceFactoryImpl.java,v 1.2 2005/06/08 06:16:07 nickb Exp $ 16 */ 17 package org.eclipse.emf.ecore.xmi.impl; 18 19 20 import org.eclipse.emf.common.util.URI; 21 import org.eclipse.emf.ecore.resource.Resource; 22 import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl; 23 24 /** 25 * This class creates XMLResourceImpl objects. 26 */ 27 public class XMLResourceFactoryImpl extends ResourceFactoryImpl 28 { 29 /** 30 * Constructor for XMLResourceFactoryImpl. 31 */ 32 public XMLResourceFactoryImpl() 33 { 34 super(); 35 } 36 37 /** 38 * Creates an XMLResourceImpl and returns it. 39 */ 40 public Resource createResource(URI uri) 41 { 42 return new XMLResourceImpl(uri); 43 } 44 } 45