public interface IURIHandler
Modifier and Type | Method and Description |
---|---|
org.eclipse.emf.common.util.URI |
convert(org.eclipse.emf.common.util.URI original,
IRMPResource resource)
Upgrade the original URI found in a file to the newest version.
|
org.eclipse.emf.common.util.URI |
revert(org.eclipse.emf.common.util.URI newFormatURI,
IRMPResource resource)
Revert a URI in the newest format to an older format.
|
org.eclipse.emf.common.util.URI convert(org.eclipse.emf.common.util.URI original, IRMPResource resource)
Upgrade the original URI found in a file to the newest version.
If the URI is not recognized then the original URI object is returned. This signals to the caller that no change was made to the URI by this handler.
original
- The original URI found in a file.org.eclipse.emf.common.util.URI revert(org.eclipse.emf.common.util.URI newFormatURI, IRMPResource resource)
Revert a URI in the newest format to an older format.
If the URI is not recognized then the onewFormatURI object is returned. This signals to the caller that no change was made to the URI by this handler.
newFormatURI
- A URI in the newest format.