 | IExternalReferenceResolver Interface |
This service interface defines methods to resolve external references of an AutomationML document.
If references are resolved, queries will be able to find referenced objects. Be aware, that
the resolved documents will not be merged and the references, containing an alias will not be changed.
Namespace: Aml.Engine.Services.InterfacesAssembly: Aml.Engine (in Aml.Engine.dll) Version: 3.2
Syntaxpublic interface IExternalReferenceResolver : IAMLService
Public Interface IExternalReferenceResolver
Inherits IAMLService
public interface class IExternalReferenceResolver : IAMLService
The IExternalReferenceResolver type exposes the following members.
Methods | Name | Description |
---|
 | ClearRedirection |
Clears all registered redirection paths.
|
 | ClearRedirection(String) |
Clears the redirection path for the provided address.
|
 | IsExternal |
Determines, if the element is contained in a resolved external document.
|
 | LoadOrGetReferencedDocument(ExternalReferenceType) |
Loads a CAEXDocument, referenced by the external reference. The new CAEXDocument is a separate document and no libraries
are merged to the current document.
This Method doesn't change any references, which use the alias of this
external reference. Use the IMerge service to achieve this.
|
 | LoadOrGetReferencedDocument(CAEXDocument, String) |
Determines, if the provided path contains an alias and gets the resolved document
for that alias if it is already resolved. If the reference has not been resolved
it is resolved.
|
 | RegisterExternalDocument |
Registers a CAEXDocument, referenced by the specified externalReference as an external document.
|
 | ResolvedDocuments |
Gets all already resolved externals for the provided CAEXDocument containing ExternalReference objects
|
 | ResolveExternalDocument |
Resolves a CAEXDocument, referenced by the specified url.
|
 | SetRedirection |
Sets a redirection path for the provided address.
|
Top
See Also