Package com._1c.g5.v8.dt.core.provider
Class UnresolvedUriResolver
- java.lang.Object
-
- com._1c.g5.v8.dt.core.provider.UnresolvedUriResolver
-
public class UnresolvedUriResolver extends Object
This resolver goes through the provided top object and resolves all "unresolved" scheme links
-
-
Constructor Summary
Constructors Constructor Description UnresolvedUriResolver(IRuntimeVersionSupport runtimeVersionSupport, ISymbolicNameService symbolicNameService)
Constructs the instance of the resolver
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
extractSymbolicName(org.eclipse.emf.common.util.URI uri)
Return symbolic name stored in lazy link.void
resolve(IBmEngine engine, IBmObject topObject)
Resolves the unresolved links inside the provided object.void
resolve(IBmObject targetObject, IBmObject topObject, IBmEngine engine)
Resolves the unresolved links inside the provided object.
-
-
-
Constructor Detail
-
UnresolvedUriResolver
public UnresolvedUriResolver(IRuntimeVersionSupport runtimeVersionSupport, ISymbolicNameService symbolicNameService)
Constructs the instance of the resolver- Parameters:
runtimeVersionSupport
- The reference to theIRuntimeVersionSupport
service. May not benull
symbolicNameService
- The reference to theISymbolicNameService
. May not benull
-
-
Method Detail
-
resolve
public final void resolve(IBmEngine engine, IBmObject topObject)
Resolves the unresolved links inside the provided object. The object fields are being updated directly.- Parameters:
engine
- TheIBmEngine
that stores the provided object. May not benull
topObject
- The top object to resolve the references in. May not benull
-
resolve
public final void resolve(IBmObject targetObject, IBmObject topObject, IBmEngine engine)
Resolves the unresolved links inside the provided object. The object fields are being updated directly.- Parameters:
targetObject
- The target object to resolve the references in. May not benull
topObject
- The top object to resolve the references in. May not benull
engine
- TheIBmEngine
that stores the provided object. May not benull
-
extractSymbolicName
protected String extractSymbolicName(org.eclipse.emf.common.util.URI uri)
Return symbolic name stored in lazy link. Descendants of this resolver could provide their own processing- Parameters:
uri
- The URI to resolve. May not benull
- Returns:
- The symbolic name of the object. May be
null
-
-