blob: ac00987fb796363d98c2c637f27d10a08ffa4582 [file] [log] [blame]
/*
* Copyright (c) 2006 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM - initial API and implementation
*
* $Id: XMI2UMLResourceImpl.java,v 1.1 2006/04/26 15:48:53 khussey Exp $
*/
package org.eclipse.uml2.uml.internal.resource;
import org.eclipse.emf.common.util.URI;
import org.eclipse.emf.ecore.xmi.XMLHelper;
import org.eclipse.emf.ecore.xmi.XMLLoad;
import org.eclipse.emf.ecore.xmi.XMLSave;
import org.eclipse.uml2.uml.resource.XMI2UMLResource;
public class XMI2UMLResourceImpl
extends UMLResourceImpl
implements XMI2UMLResource {
public XMI2UMLResourceImpl(URI uri) {
super(uri);
}
protected XMLHelper createXMLHelper() {
return new XMI2UMLHelperImpl(this);
}
protected XMLLoad createXMLLoad() {
return new XMI2UMLLoadImpl(createXMLHelper());
}
protected XMLSave createXMLSave() {
return new XMI2UMLSaveImpl(createXMLHelper());
}
protected boolean assignIDsWhileLoading() {
return false;
}
}