org.eclipse.xtext.resource
Interface IResourceServiceProvider

All Known Subinterfaces:
IResourceUIServiceProvider
All Known Implementing Classes:
DefaultResourceServiceProvider, DefaultResourceUIServiceProvider, EmfResourceUIServiceProvider, GenericResourceServiceProvider, SharedCommonTypesResourceServiceProvider

public interface IResourceServiceProvider

Author:
Sven Efftinge - Initial contribution and API

Nested Class Summary
static interface IResourceServiceProvider.Registry
           
 
Method Summary
 boolean canHandle(org.eclipse.emf.common.util.URI uri)
          Tells whether the given URI can be handled by this IResourceServiceProvider
<T> T
get(java.lang.Class<T> t)
          A generic way to obtain an implementation for a certain type.
 IContainer.Manager getContainerManager()
           
 IEncodingProvider getEncodingProvider()
           
 IResourceDescription.Manager getResourceDescriptionManager()
           
 IResourceValidator getResourceValidator()
           
 

Method Detail

getResourceValidator

IResourceValidator getResourceValidator()
Returns:
the resource description manager for this resource service manager. Not null.

getResourceDescriptionManager

IResourceDescription.Manager getResourceDescriptionManager()
Returns:
the resource description manager for this resource service manager.

getContainerManager

IContainer.Manager getContainerManager()
Returns:
the container manager for this resource service manager.

canHandle

boolean canHandle(org.eclipse.emf.common.util.URI uri)
Tells whether the given URI can be handled by this IResourceServiceProvider

Returns:
true if the URI can be handled

getEncodingProvider

IEncodingProvider getEncodingProvider()

get

<T> T get(java.lang.Class<T> t)
A generic way to obtain an implementation for a certain type.

Returns:
null is no implementation of the given type can be provided.