public class EMFXMIModelWriter extends EMFModelWriter
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_XMI_VERSION
Name of the property that specifies the expected XMI version.
|
MDW_CONNECTOR_CONTEXT
Constructor and Description |
---|
EMFXMIModelWriter() |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Object> |
createOptions(ConnectorContext context)
Registers UTF-8 as the default encoding to use.
|
protected Resource |
createResource(URI uri,
ConnectorContext context)
This implementation creates a resource to handle XMI based on the XMI version specified
in the connector descriptor properties.
|
getDirectContents, logError, write
public static final String PROPERTY_XMI_VERSION
protected Resource createResource(URI uri, ConnectorContext context)
createResource
in class EMFModelWriter
uri
- the URI to write.context
- the context in which the connector runsPROPERTY_XMI_VERSION
protected Map<String,Object> createOptions(ConnectorContext context)
createOptions
in class EMFModelWriter
context
- the context in which the connector runs