![]() | CAEXDocument Methods |
The CAEXDocument type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | AMLSchemaManager(CAEXWrapper) | Gets the schema manager for the CAEX document which contains the provided CAEX object. |
![]() ![]() | AMLSchemaManager(XElement) | Gets the schema manager for the CAEX document which contains the provided XML node. |
![]() | Dispose |
Dispose
(Inherited from XDocumentWrapper) |
![]() ![]() | Document(CAEXWrapper) | Gets the CAEX document which contains the specified CAEX object. If the CAEX object has not been inserted into a CAEX document, no CAEX document is returned. |
![]() ![]() | Document(XNode) | Gets the CAEXDocument which contains the specified XML node. |
![]() ![]() | LoadFromBinary | Loading a CAEX file from the specified Byte-Array. |
![]() ![]() | LoadFromBinaryAsync | Loading a CAEX file from the specified Byte-Array asynchronously. |
![]() ![]() | LoadFromFile | Create a CAEX document with content, loaded from a file. The schema version of the CAEX document is set accordingly to the SchemaVersion-Attribute of the CAEXFile object. |
![]() ![]() | LoadFromFileAsync | Create a CAEX document with content, loaded asynchronously from a file. The schema version of the CAEX document is set accordingly to the SchemaVersion-Attribute of the CAEXFile object. |
![]() ![]() | LoadFromStream | Create a CAEX document with content, loaded from a stream. The schema version of the CAEX document is set accordingly to the SchemaVersion-Attribute of the CAEXFile object. |
![]() ![]() | LoadFromStreamAsync | Create a CAEX document with content, loaded asynchronously from a stream. The schema version of the CAEX document is set accordingly to the SchemaVersion-Attribute of the CAEXFile object. |
![]() ![]() | LoadFromString | Create a CAEX document with content, loaded from a UTF-8 encoded string. The schema version of the CAEX document is set accordingly to the SchemaVersion-Attribute of the CAEXFile object. |
![]() ![]() | LoadFromStringAsync | Asynchronous method to create a CAEX document with content, loaded from a UTF-8 encoded string. The schema version of the CAEX document is set accordingly to the SchemaVersion-Attribute of the CAEXFile object. |
![]() ![]() | New_CAEXDocument | Creates a new empty CAEX document containing only the CAEXFile Element as the root element. The CAEX document is created, using the default schema version DefaultSchema. |
![]() ![]() | New_CAEXDocument(CAEXDocumentCAEXSchema) | Creates a new empty CAEX document containing only the CAEXFile element as the root element. The CAEX document is created using the specified schema version. The specified schema version defines the applicable editing methods. |
![]() | SaveToFile |
Saves the CAEX document to the specified file path.
(Overrides XDocumentWrapperSaveToFile(String, Boolean)) |
![]() | SaveToFileAsync | Saves the CAEX document to the specified file path asycncronously |
![]() | SaveToStream |
Saves the CAEX document, to the specified stream
(Overrides XDocumentWrapperSaveToStream(Boolean)) |
![]() | SaveToStreamAsync | Saves the CAEX document, to the specified stream |
![]() | Unload |
Unloads this document instance.
(Inherited from XDocumentWrapper) |
![]() | Validate | Checks if the document is schema compliant. |
![]() | XName |
Gets the correct XName for the provided CAEX element name (Tag name).The XName contains a namespace,
if the assigned schema requires a namespace. If no namespace is defined for the assigned schema (as
in CAEX 2.15), no namespace is added to the XName. The XName has to be used for all Xml.Linq queries,
used to access objects with the CAEX element name.
(Overrides XDocumentWrapperXName(String)) |
Name | Description | |
---|---|---|
![]() | AddAutomationMLBaseAttributeTypeLib |
Gets the AutomationMLBaseAttributeTypeLib from the provided document. If the document doesn't contain
the required library it will be automatically imported from an embedded resource.
(Defined by AutomationMLBaseAttributeTypeLib) |
![]() | AddAutomationMLBaseRoleClassLib |
Gets the AutomationMLBaseRoleClassLib from the provided document. If the document doesn't contain
the required library it will be automatically imported from an external resource.
(Defined by AutomationMLBaseRoleClassLib) |
![]() | AddAutomationMLInterfaceClassLib |
Gets the AutomationMLInterfaceClassLib from the provided document. If the document doesn't contain
the required library it will be automatically imported from an external resource.
(Defined by AutomationMLInterfaceClassLib) |
![]() | AllElementsIdentifiedByCAEXPath |
Gets all the elements which are identifiable by a CAEX path. Elements having the same path are grouped together.
Use this method to validate the existence of not unique CAEXPaths.
(Defined by QueryResult) |
![]() | AllElementsWithAliasReference |
Gets all the elements with an alias reference. Elements referencing the same Alias are grouped together.
Use this method to validate the existence of referenced externals.
(Defined by QueryResult) |
![]() | AllElementsWithCAEXPathReference |
Gets all the elements with a path reference. Elements referencing the same path are grouped together.
Use this method to validate the existence of referenced classes.
(Defined by QueryResult) |
![]() | AllElementsWithIDReference |
Gets all the elements with identifier references. Elements referencing the same ID are grouped together.
Use this method to validate the existence of referenced IDs.
(Defined by QueryResult) |
![]() | AllElementsWithIDs |
Gets all the elements with IDs. Elements using the same ID are grouped together.
Use this method to validate the uniqueness of IDs.
(Defined by QueryResult) |
![]() | AllElementsWithNameReference |
Gets all the elements with a name reference. Elements referencing the same name are grouped together.
Use this method to validate the existence of referenced elements.
(Defined by QueryResult) |
![]() | AllInternalElementMasters |
Gets all InternalElement objects from the document which are masters.
(Defined by QueryResult) |
![]() | AllInternalElementMirrors |
Gets all InternalElement objects from the document which are mirrors.
(Defined by QueryResult) |
![]() | AutomationMLVersion |
Gets the AutomationML version for this CAEXFile object.
(Defined by AmlObjectsExtensions) |
![]() | ClassIsDerivedFromT |
Determines, if the class, specified with the given class path is directly or indirectly (across multiple
generations)
a descendant of the class or identical to it, which is uniquely identified with the specified baseClass path.
The base class path or the referenced class path may contain alias identifiers. If alias
identifiers are present, the method tries to load the externally referenced document.
(Defined by InheritanceExtensions) |
![]() | Create |
Factory method to create a new CAEX object in the provided CAEX document.
The CAEX element is derived from the specified CAEX object Type. To insert
the new CAEX object into the document an appropriate insertion method has
to be used.
(Defined by CAEXElementFactory) |
![]() | CreateT |
Factory method to create a new CAEX object in the provided CAEX document.
The CAEX element is derived from the specified CAEX object Type. To insert
the new CAEX object into the document an appropriate insertion method has
to be used.
(Defined by CAEXElementFactory) |
![]() | ElementsWithAliasReference |
Gets alls the elements from the document which use the provided Alias in a reference
(Defined by QueryResult) |
![]() | ElementsWithCAEXPathReference |
Gets alls the elements from the document which have a reference to the provided Path.
(Defined by QueryResult) |
![]() | ElementsWithIDReference |
Gets alls the elements from the document which have a reference to the provided ID.
(Defined by QueryResult) |
![]() | ElementsWithInternalLinkRelations |
Returns all InternalElements and SystemUnitClasses in the defined Document, which are related to others
via InternalLinks.
(Defined by QueryResult) |
![]() | ExternalReferenceFromAlias |
Gets the ExternalReferenceType form the CAEXDocument which defines the defined alias.
(Defined by CAEXDocumentExtensions) |
![]() | FindByID |
Tries to locate a CAEX object from the specified ID.
If the ID uses an alias reference and an IExternalReferenceResolver can be located,
it is tried to resolve the external reference and to get the object from the external source.
(Defined by CAEXDocumentExtensions) |
![]() | FindByPath |
Tries to locates a CAEX object from the specified CAEX path.
If the path uses an alias reference and an IExternalReferenceResolver can be located,
it is tried to resolve the external reference and to get the object from the external source.
(Defined by CAEXDocumentExtensions) |
![]() | HasLibraries |
Determines if the CAEXDocument has any libraries
(Defined by CAEXDocumentExtensions) |