Package io.opencaesar.oml.resource
Class OmlXMIURIHandler
java.lang.Object
org.eclipse.emf.ecore.xmi.impl.URIHandlerImpl
io.opencaesar.oml.resource.OmlXMIURIHandler
- All Implemented Interfaces:
org.eclipse.emf.ecore.xmi.XMLResource.URIHandler
public class OmlXMIURIHandler
extends org.eclipse.emf.ecore.xmi.impl.URIHandlerImpl
The XMI URI Handler implementation for the model.
This handler allows Oml cross-refs to be serialized/loaded using abbreviated IRIs in .omlxmi format.
It is installed by default by
OmlXMIResource
instances.-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.xmi.impl.URIHandlerImpl
org.eclipse.emf.ecore.xmi.impl.URIHandlerImpl.AbsoluteCrossBundleAware, org.eclipse.emf.ecore.xmi.impl.URIHandlerImpl.PlatformSchemeAware
-
Field Summary
Fields inherited from class org.eclipse.emf.ecore.xmi.impl.URIHandlerImpl
baseURI, resolve
-
Constructor Summary
-
Method Summary
Methods inherited from class org.eclipse.emf.ecore.xmi.impl.URIHandlerImpl
getBaseURI, setBaseURI
-
Constructor Details
-
OmlXMIURIHandler
public OmlXMIURIHandler(org.eclipse.emf.ecore.resource.Resource resource)
-
-
Method Details
-
resolve
public org.eclipse.emf.common.util.URI resolve(org.eclipse.emf.common.util.URI uri) - Specified by:
resolve
in interfaceorg.eclipse.emf.ecore.xmi.XMLResource.URIHandler
- Overrides:
resolve
in classorg.eclipse.emf.ecore.xmi.impl.URIHandlerImpl
-
deresolve
public org.eclipse.emf.common.util.URI deresolve(org.eclipse.emf.common.util.URI uri) - Specified by:
deresolve
in interfaceorg.eclipse.emf.ecore.xmi.XMLResource.URIHandler
- Overrides:
deresolve
in classorg.eclipse.emf.ecore.xmi.impl.URIHandlerImpl
-