public class EMFXMIModelReader extends EMFModelReader
MDW_CONNECTOR_CONTEXT, OPTION_DISABLE_AUTO_RESOLVE_PROXIES
Constructor and Description |
---|
EMFXMIModelReader() |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Object> |
createOptions(ConnectorContext context)
Sets default XMI options.
|
protected Resource |
createResource(URI uri,
ConnectorContext context)
This implementation reads the XMI header and creates a resource that can handle the XMI version found.
|
protected Resource |
createXMIResource(URI uri,
ConnectorContext context,
com.sodius.mdw.corext.model.io.xmi.XMIHeader header)
Creates a resource that can handle the XMI version found.
|
createResourceSet, logError, read
protected Resource createResource(URI uri, ConnectorContext context)
createResource
in class EMFModelReader
uri
- the URI to load.context
- the context in which the connector runsprotected Resource createXMIResource(URI uri, ConnectorContext context, com.sodius.mdw.corext.model.io.xmi.XMIHeader header)
uri
- the URI of the resource to create.context
- the context in which this reader runs.header
- the header describing the XMI resource.protected Map<String,Object> createOptions(ConnectorContext context)
createOptions
in class EMFModelReader
context
- the context in which this reader runs.