java.lang.Objectorg.eclipse.gmt.umlx.registry.util.AbstractModelResolver
public abstract class AbstractModelResolver
Method Summary | |
---|---|
org.eclipse.emf.ecore.resource.Resource |
getResource(org.eclipse.emf.common.util.URI uri,
boolean loadOnDemand)
|
org.eclipse.emf.ecore.resource.ResourceSet |
getResourceSet()
|
org.eclipse.emf.common.util.URI |
getURI(java.lang.String modelName)
Return the (Ecore) URI suitable for getting the (Ecore) resource defined by the modelName of a (Workspace) resource. |
org.eclipse.emf.common.util.URI |
getURI(java.net.URI uri)
Return the (Ecore) URI suitable for getting the (Ecore) resource defined by the (java.net.URI) uri of a (Workspace) resource. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.gmt.umlx.registry.util.ModelResolver |
---|
getURI |
Method Detail |
---|
public org.eclipse.emf.ecore.resource.Resource getResource(org.eclipse.emf.common.util.URI uri, boolean loadOnDemand) throws java.lang.Exception
getResource
in interface ModelResolver
java.lang.Exception
public org.eclipse.emf.ecore.resource.ResourceSet getResourceSet()
getResourceSet
in interface ModelResolver
public org.eclipse.emf.common.util.URI getURI(java.lang.String modelName)
ModelResolver
getURI
in interface ModelResolver
modelName
- the name of the model to be located.
public org.eclipse.emf.common.util.URI getURI(java.net.URI uri)
ModelResolver
getURI
in interface ModelResolver