Class AbsoluteCrossBundleAware
- java.lang.Object
-
- org.eclipse.emfcloud.jackson.handlers.BaseURIHandler
-
- org.eclipse.emfcloud.jackson.handlers.AbsoluteCrossBundleAware
-
- All Implemented Interfaces:
URIHandler
public class AbsoluteCrossBundleAware extends BaseURIHandler
A URI handler that will avoid creating relative references between different platform:/resource/project-name or platform/plugin/bundle-name, i.e., it will produce relative references only within projects or bundles and will use absolute URIs for references outside of that project or bundle.
-
-
Constructor Summary
Constructors Constructor Description AbsoluteCrossBundleAware()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.common.util.URIderesolve(org.eclipse.emf.common.util.URI baseURI, org.eclipse.emf.common.util.URI uri)Returns the URIderesolvedagainst the base URI.-
Methods inherited from class org.eclipse.emfcloud.jackson.handlers.BaseURIHandler
resolve, resolve
-
-
-
-
Method Detail
-
deresolve
public org.eclipse.emf.common.util.URI deresolve(org.eclipse.emf.common.util.URI baseURI, org.eclipse.emf.common.util.URI uri)Description copied from interface:URIHandlerReturns the URIderesolvedagainst the base URI.- Specified by:
deresolvein interfaceURIHandler- Overrides:
deresolvein classBaseURIHandler- Parameters:
baseURI- the base URI against which the URI is deresolved.uri- the URI to resolve.- Returns:
- the URI resolved against the base URI.
- See Also:
URI.deresolve(URI)
-
-