com.sodius.mdw.core.model.emf
Class EMFXMLModelWriter

java.lang.Object
  extended by com.sodius.mdw.core.model.emf.EMFModelWriter
      extended by com.sodius.mdw.core.model.emf.EMFXMLModelWriter
All Implemented Interfaces:
ModelWriter

public abstract class EMFXMLModelWriter
extends EMFModelWriter

Default EMF based implementation to handle XML uris.


Field Summary
 
Fields inherited from class com.sodius.mdw.core.model.emf.EMFModelWriter
MDW_CONNECTOR_CONTEXT
 
Constructor Summary
EMFXMLModelWriter()
           
 
Method Summary
protected  Resource createResource(URI uri, ConnectorContext context)
          Creates a resource that is able to handle the specified uri.
abstract  Resource.Factory getResourceFactory()
           
 
Methods inherited from class com.sodius.mdw.core.model.emf.EMFModelWriter
createOptions, getDirectContents, logError, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EMFXMLModelWriter

public EMFXMLModelWriter()
Method Detail

createResource

protected Resource createResource(URI uri,
                                  ConnectorContext context)
Description copied from class: EMFModelWriter
Creates a resource that is able to handle the specified uri.

Specified by:
createResource in class EMFModelWriter
Parameters:
uri - the URI to write.
context - the context in which the connector runs
Returns:
the created resource.

getResourceFactory

public abstract Resource.Factory getResourceFactory()