Package com._1c.g5.v8.dt.ws.resource
Class WSDefinitionLinkProvider
- java.lang.Object
- 
- com._1c.g5.v8.dt.ws.resource.WSDefinitionLinkProvider
 
- 
- All Implemented Interfaces:
- IBmExternalUriResolver
 
 public class WSDefinitionLinkProvider extends Object implements IBmExternalUriResolver IBmLinkProviderimplementation for WSDefinition
- 
- 
Constructor SummaryConstructors Constructor Description WSDefinitionLinkProvider()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.ecore.EObjectgetObject(org.eclipse.emf.common.util.URI uri)Resolves the specified URI.org.eclipse.emf.ecore.resource.ResourcegetResource(org.eclipse.emf.common.util.URI uri)Ask link providers to obtain resource matched with specified URI.booleanisPassthrough()Designates that resources being returned by this resolver remain as-is (with original resource set and so on) and not being copied to the session.booleansupports(org.eclipse.emf.common.util.URI uri)Checks if the specified URI is supported.
 
- 
- 
- 
Method Detail- 
getResourcepublic org.eclipse.emf.ecore.resource.Resource getResource(org.eclipse.emf.common.util.URI uri) Description copied from interface:IBmExternalUriResolverAsk link providers to obtain resource matched with specified URI. Used to provider resources for system types.- Specified by:
- getResourcein interface- IBmExternalUriResolver
- Parameters:
- uri- The resource URI. May not be- null
- Returns:
- the loaded resource if found, otherwise null.
 
 - 
supportspublic boolean supports(org.eclipse.emf.common.util.URI uri) Description copied from interface:IBmExternalUriResolverChecks if the specified URI is supported.- Specified by:
- supportsin interface- IBmExternalUriResolver
- Parameters:
- uri- The URI to run the check against. May not be- null.
- Returns:
- trueif the URI is supported by this resolver, otherwise- false.
 
 - 
getObjectpublic org.eclipse.emf.ecore.EObject getObject(org.eclipse.emf.common.util.URI uri) Description copied from interface:IBmExternalUriResolverResolves the specified URI.- Specified by:
- getObjectin interface- IBmExternalUriResolver
- Parameters:
- uri- The URI. May not be- null.
- Returns:
- the object identified by the specified URI if found, otherwise null.
 
 - 
isPassthroughpublic boolean isPassthrough() Description copied from interface:IBmExternalUriResolverDesignates that resources being returned by this resolver remain as-is (with original resource set and so on) and not being copied to the session. This approach can be used by complex resource providers requiring specific support from original resource sets (like Xtext).
 BM could use such link providers for seamless URI resolution to external resources that shouldn't be cached out in the BM resource set.- Specified by:
- isPassthroughin interface- IBmExternalUriResolver
- Returns:
- trueif this resolver works in the passthrough mode;- falseotherwise.
 
 
- 
 
-