public class ExtendedXMLLoadImpl
extends org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl
XMLLoad
implementation that provides support for on-the-fly migration of older
resource
s to instances of newer metamodel implementations using model
converter
s.
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.XMLLoad
load
in class org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl
java.io.IOException
protected javax.xml.parsers.SAXParser makeParser() throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException
makeParser
in class org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
protected org.xml.sax.helpers.DefaultHandler makeDefaultHandler()
makeDefaultHandler
in class org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl
protected void handleErrors() throws java.io.IOException
handleErrors
in class org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl
java.io.IOException