blob: dcf0542704f182dd8d4567a1c1bf30b621bd6afd [file] [log] [blame]
/*
* Copyright (c) 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*
* Contributors:
* IBM - Initial API and implementation
*
* $Id: UML2LoadImpl.java,v 1.3 2004/06/14 02:22:00 khussey Exp $
*/
package org.eclipse.uml2.internal.util;
import org.eclipse.emf.ecore.xmi.XMLHelper;
import org.eclipse.emf.ecore.xmi.impl.SAXWrapper;
import org.eclipse.emf.ecore.xmi.impl.XMILoadImpl;
import org.xml.sax.helpers.DefaultHandler;
/**
*
*/
public class UML2LoadImpl
extends XMILoadImpl {
public UML2LoadImpl(XMLHelper helper) {
super(helper);
}
/*
* (non-Javadoc)
*
* @see org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl#makeDefaultHandler()
*/
protected DefaultHandler makeDefaultHandler() {
return new SAXWrapper(new UML2Handler(resource, helper, options));
}
}