Package org.eclipse.xtext.resource
Interface IResourceServiceProvider.Provider
-
- All Known Implementing Classes:
AbstractResourceServiceProviderDescriptor
,ResourceServiceProviderDescriptor
- Enclosing interface:
- IResourceServiceProvider
@Beta public static interface IResourceServiceProvider.Provider
Instances of this interface can be registered in theIResourceServiceProvider.Registry
or via the corresponding extension points. Please don't use this interface as it is not guaranteed that clients of the Registry request a new ResourceServiceProvider for every URI.- Since:
- 2.4
- Noextend:
- This interface is not intended to be extended by clients.
- Noimplement:
- This interface is not intended to be implemented by clients.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IResourceServiceProvider
get(org.eclipse.emf.common.util.URI uri, java.lang.String contentType)
-
-
-
Method Detail
-
get
IResourceServiceProvider get(org.eclipse.emf.common.util.URI uri, java.lang.String contentType)
- Parameters:
uri
- The uri that the returned ResourceServiceProvider will be responsible for.contentType
- A contentType if one is available, null otherwise.- Returns:
- a new or an existing ResourceServiceProvider
-
-