public class ExtendedXMLLoadImpl
extends org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl
XMLLoad implementation that provides support for on-the-fly migration of older
resources to instances of newer metamodel implementations using model
converters.
The model converter to be used for on-the-fly resource migration must be contributed to the
org.eclipse.sphinx.emf.modelConverters extension point.
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
enableSchemaValidation |
protected javax.xml.parsers.SAXParser |
parser |
| Constructor and Description |
|---|
ExtendedXMLLoadImpl(org.eclipse.emf.ecore.xmi.XMLHelper helper) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
handleErrors() |
void |
load(org.eclipse.emf.ecore.xmi.XMLResource resource,
java.io.InputStream inputStream,
java.util.Map<?,?> options) |
protected org.xml.sax.helpers.DefaultHandler |
makeDefaultHandler() |
protected javax.xml.parsers.SAXParser |
makeParser() |
protected boolean enableSchemaValidation
protected javax.xml.parsers.SAXParser parser
public ExtendedXMLLoadImpl(org.eclipse.emf.ecore.xmi.XMLHelper helper)
public void load(org.eclipse.emf.ecore.xmi.XMLResource resource,
java.io.InputStream inputStream,
java.util.Map<?,?> options)
throws java.io.IOException
load in interface org.eclipse.emf.ecore.xmi.XMLLoadload in class org.eclipse.emf.ecore.xmi.impl.XMLLoadImpljava.io.IOExceptionprotected javax.xml.parsers.SAXParser makeParser()
throws javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException
makeParser in class org.eclipse.emf.ecore.xmi.impl.XMLLoadImpljavax.xml.parsers.ParserConfigurationExceptionorg.xml.sax.SAXExceptionprotected org.xml.sax.helpers.DefaultHandler makeDefaultHandler()
makeDefaultHandler in class org.eclipse.emf.ecore.xmi.impl.XMLLoadImplprotected void handleErrors()
throws java.io.IOException
handleErrors in class org.eclipse.emf.ecore.xmi.impl.XMLLoadImpljava.io.IOException