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

java.lang.Object
  extended by com.sodius.mdw.core.model.emf.EMFModelReader
      extended by com.sodius.mdw.core.model.emf.EMFXMLModelReader
All Implemented Interfaces:
ModelReader

public abstract class EMFXMLModelReader
extends EMFModelReader

Default EMF based implementation to handle XML uris.


Field Summary
 
Fields inherited from class com.sodius.mdw.core.model.emf.EMFModelReader
MDW_CONNECTOR_CONTEXT, OPTION_DISABLE_AUTO_RESOLVE_PROXIES
 
Constructor Summary
EMFXMLModelReader()
           
 
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.EMFModelReader
createOptions, createResourceSet, logError, read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EMFXMLModelReader

public EMFXMLModelReader()
Method Detail

createResource

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

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

getResourceFactory

public abstract Resource.Factory getResourceFactory()