org.eclipse.xtext.builder.resourceloader
Class IResourceLoader.LoadResult
java.lang.Object
org.eclipse.xtext.builder.resourceloader.IResourceLoader.LoadResult
- Enclosing interface:
- IResourceLoader
public static class IResourceLoader.LoadResult
- extends java.lang.Object
Represents a resource with its associated URI
, which was used to load or look up the resource from its ResourceSet
Note, that the URI
returned from getUri()
must not neccessarily be equals to what'S returned by getResource()
.getURI().
Constructor Summary |
IResourceLoader.LoadResult(org.eclipse.emf.ecore.resource.Resource resource,
org.eclipse.emf.common.util.URI uri)
|
Method Summary |
org.eclipse.emf.ecore.resource.Resource |
getResource()
|
org.eclipse.emf.common.util.URI |
getUri()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IResourceLoader.LoadResult
public IResourceLoader.LoadResult(org.eclipse.emf.ecore.resource.Resource resource,
org.eclipse.emf.common.util.URI uri)
getResource
public org.eclipse.emf.ecore.resource.Resource getResource()
getUri
public org.eclipse.emf.common.util.URI getUri()