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

    Constructors
    Constructor
    Description
    OmlXMIURIHandler(org.eclipse.emf.ecore.resource.Resource resource)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.eclipse.emf.common.util.URI
    deresolve(org.eclipse.emf.common.util.URI uri)
     
    org.eclipse.emf.common.util.URI
    resolve(org.eclipse.emf.common.util.URI uri)
     

    Methods inherited from class org.eclipse.emf.ecore.xmi.impl.URIHandlerImpl

    getBaseURI, setBaseURI

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 interface org.eclipse.emf.ecore.xmi.XMLResource.URIHandler
      Overrides:
      resolve in class org.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 interface org.eclipse.emf.ecore.xmi.XMLResource.URIHandler
      Overrides:
      deresolve in class org.eclipse.emf.ecore.xmi.impl.URIHandlerImpl