blob: d791a199917b30c22d5ef4e60d47fcaddd41f8c0 [file] [log] [blame]
/*
* Copyright (c) 2007 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:
* Kenn Hussey (IBM Corporation) - initial API and implementation
*
* $Id: CMOF2UMLResourceImpl.java,v 1.1 2007/09/04 15:28:48 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.CMOF2UMLResource;
public class CMOF2UMLResourceImpl
extends UMLResourceImpl
implements CMOF2UMLResource {
public CMOF2UMLResourceImpl(URI uri) {
super(uri);
}
@Override
protected XMLHelper createXMLHelper() {
return new CMOF2UMLHelperImpl(this);
}
@Override
protected XMLLoad createXMLLoad() {
return new CMOF2UMLLoadImpl(createXMLHelper());
}
@Override
protected XMLSave createXMLSave() {
return new CMOF2UMLSaveImpl(createXMLHelper());
}
}