blob: 72666f41ccf3391ebfe2a57c196c791ec45d6864 [file] [log] [blame]
/*
* Copyright (c) 2007, 2011 IBM Corporationm, CEA, 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:
* Kenn Hussey (IBM Corporation) - initial API and implementation
* Kenn Hussey (CEA) - 327039
*
*/
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.CMOF202UMLResource;
public class CMOF202UMLResourceImpl
extends UMLResourceImpl
implements CMOF202UMLResource {
public CMOF202UMLResourceImpl(URI uri) {
super(uri);
}
@Override
protected XMLHelper createXMLHelper() {
return new CMOF2UMLHelperImpl(this);
}
@Override
protected XMLLoad createXMLLoad() {
return new CMOF202UMLLoadImpl(createXMLHelper());
}
@Override
protected XMLSave createXMLSave() {
return new CMOF2UMLSaveImpl(createXMLHelper());
}
}