@itwin/ecschema-metadata 4.0.0-dev.52 → 4.0.0-dev.55

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (117) hide show
  1. package/lib/cjs/Constants.d.ts +23 -23
  2. package/lib/cjs/Constants.js +33 -33
  3. package/lib/cjs/Constants.js.map +1 -1
  4. package/lib/cjs/Context.d.ts +139 -139
  5. package/lib/cjs/Context.js +204 -204
  6. package/lib/cjs/DelayedPromise.d.ts +88 -88
  7. package/lib/cjs/DelayedPromise.d.ts.map +1 -1
  8. package/lib/cjs/DelayedPromise.js +91 -91
  9. package/lib/cjs/DelayedPromise.js.map +1 -1
  10. package/lib/cjs/Deserialization/AbstractParser.d.ts +45 -45
  11. package/lib/cjs/Deserialization/AbstractParser.d.ts.map +1 -1
  12. package/lib/cjs/Deserialization/AbstractParser.js +11 -11
  13. package/lib/cjs/Deserialization/Helper.d.ts +251 -251
  14. package/lib/cjs/Deserialization/Helper.js +843 -843
  15. package/lib/cjs/Deserialization/JsonParser.d.ts +165 -165
  16. package/lib/cjs/Deserialization/JsonParser.js +680 -680
  17. package/lib/cjs/Deserialization/JsonProps.d.ts +282 -282
  18. package/lib/cjs/Deserialization/JsonProps.d.ts.map +1 -1
  19. package/lib/cjs/Deserialization/JsonProps.js +9 -9
  20. package/lib/cjs/Deserialization/SchemaGraphUtil.d.ts +34 -34
  21. package/lib/cjs/Deserialization/SchemaGraphUtil.js +77 -77
  22. package/lib/cjs/Deserialization/XmlParser.d.ts +85 -85
  23. package/lib/cjs/Deserialization/XmlParser.js +973 -973
  24. package/lib/cjs/Deserialization/XmlSerializationUtils.d.ts +54 -54
  25. package/lib/cjs/Deserialization/XmlSerializationUtils.js +174 -174
  26. package/lib/cjs/ECName.d.ts +30 -30
  27. package/lib/cjs/ECName.js +85 -85
  28. package/lib/cjs/ECObjects.d.ts +162 -162
  29. package/lib/cjs/ECObjects.js +453 -453
  30. package/lib/cjs/Exception.d.ts +43 -43
  31. package/lib/cjs/Exception.js +84 -84
  32. package/lib/cjs/Interfaces.d.ts +66 -66
  33. package/lib/cjs/Interfaces.d.ts.map +1 -1
  34. package/lib/cjs/Interfaces.js +9 -9
  35. package/lib/cjs/Metadata/Class.d.ts +243 -243
  36. package/lib/cjs/Metadata/Class.js +558 -558
  37. package/lib/cjs/Metadata/Class.js.map +1 -1
  38. package/lib/cjs/Metadata/Constant.d.ts +64 -64
  39. package/lib/cjs/Metadata/Constant.js +123 -123
  40. package/lib/cjs/Metadata/CustomAttribute.d.ts +23 -23
  41. package/lib/cjs/Metadata/CustomAttribute.js +27 -27
  42. package/lib/cjs/Metadata/CustomAttributeClass.d.ts +39 -39
  43. package/lib/cjs/Metadata/CustomAttributeClass.js +68 -68
  44. package/lib/cjs/Metadata/CustomAttributeClass.js.map +1 -1
  45. package/lib/cjs/Metadata/EntityClass.d.ts +77 -77
  46. package/lib/cjs/Metadata/EntityClass.js +230 -230
  47. package/lib/cjs/Metadata/Enumeration.d.ts +86 -86
  48. package/lib/cjs/Metadata/Enumeration.d.ts.map +1 -1
  49. package/lib/cjs/Metadata/Enumeration.js +159 -159
  50. package/lib/cjs/Metadata/Enumeration.js.map +1 -1
  51. package/lib/cjs/Metadata/Format.d.ts +98 -98
  52. package/lib/cjs/Metadata/Format.js +242 -242
  53. package/lib/cjs/Metadata/InvertedUnit.d.ts +49 -49
  54. package/lib/cjs/Metadata/InvertedUnit.js +97 -97
  55. package/lib/cjs/Metadata/KindOfQuantity.d.ts +65 -65
  56. package/lib/cjs/Metadata/KindOfQuantity.js +225 -225
  57. package/lib/cjs/Metadata/KindOfQuantity.js.map +1 -1
  58. package/lib/cjs/Metadata/Mixin.d.ts +54 -54
  59. package/lib/cjs/Metadata/Mixin.js +113 -113
  60. package/lib/cjs/Metadata/Mixin.js.map +1 -1
  61. package/lib/cjs/Metadata/OverrideFormat.d.ts +55 -55
  62. package/lib/cjs/Metadata/OverrideFormat.js +88 -88
  63. package/lib/cjs/Metadata/Phenomenon.d.ts +33 -33
  64. package/lib/cjs/Metadata/Phenomenon.js +59 -59
  65. package/lib/cjs/Metadata/Property.d.ts +197 -197
  66. package/lib/cjs/Metadata/Property.d.ts.map +1 -1
  67. package/lib/cjs/Metadata/Property.js +491 -491
  68. package/lib/cjs/Metadata/Property.js.map +1 -1
  69. package/lib/cjs/Metadata/PropertyCategory.d.ts +39 -39
  70. package/lib/cjs/Metadata/PropertyCategory.js +61 -61
  71. package/lib/cjs/Metadata/PropertyCategory.js.map +1 -1
  72. package/lib/cjs/Metadata/RelationshipClass.d.ts +152 -152
  73. package/lib/cjs/Metadata/RelationshipClass.js +349 -349
  74. package/lib/cjs/Metadata/RelationshipClass.js.map +1 -1
  75. package/lib/cjs/Metadata/Schema.d.ts +291 -291
  76. package/lib/cjs/Metadata/Schema.d.ts.map +1 -1
  77. package/lib/cjs/Metadata/Schema.js +520 -520
  78. package/lib/cjs/Metadata/Schema.js.map +1 -1
  79. package/lib/cjs/Metadata/SchemaItem.d.ts +61 -61
  80. package/lib/cjs/Metadata/SchemaItem.js +136 -136
  81. package/lib/cjs/Metadata/Unit.d.ts +76 -76
  82. package/lib/cjs/Metadata/Unit.js +162 -162
  83. package/lib/cjs/Metadata/UnitSystem.d.ts +20 -20
  84. package/lib/cjs/Metadata/UnitSystem.js +29 -29
  85. package/lib/cjs/PropertyTypes.d.ts +49 -49
  86. package/lib/cjs/PropertyTypes.js +91 -91
  87. package/lib/cjs/PropertyTypes.js.map +1 -1
  88. package/lib/cjs/SchemaJsonLocater.d.ts +34 -34
  89. package/lib/cjs/SchemaJsonLocater.d.ts.map +1 -1
  90. package/lib/cjs/SchemaJsonLocater.js +42 -42
  91. package/lib/cjs/SchemaKey.d.ts +110 -110
  92. package/lib/cjs/SchemaKey.js +219 -219
  93. package/lib/cjs/SchemaLoader.d.ts +23 -23
  94. package/lib/cjs/SchemaLoader.js +47 -47
  95. package/lib/cjs/SchemaPartVisitorDelegate.d.ts +274 -274
  96. package/lib/cjs/SchemaPartVisitorDelegate.js +212 -212
  97. package/lib/cjs/UnitConversion/Graph.d.ts +34 -34
  98. package/lib/cjs/UnitConversion/Graph.js +83 -83
  99. package/lib/cjs/UnitConversion/Parser.d.ts +8 -8
  100. package/lib/cjs/UnitConversion/Parser.js +42 -42
  101. package/lib/cjs/UnitConversion/UnitConversion.d.ts +45 -45
  102. package/lib/cjs/UnitConversion/UnitConversion.js +77 -77
  103. package/lib/cjs/UnitConversion/UnitConversion.js.map +1 -1
  104. package/lib/cjs/UnitConversion/UnitConverter.d.ts +39 -39
  105. package/lib/cjs/UnitConversion/UnitConverter.js +116 -116
  106. package/lib/cjs/UnitConversion/UnitTree.d.ts +43 -43
  107. package/lib/cjs/UnitConversion/UnitTree.js +169 -169
  108. package/lib/cjs/UnitProvider/SchemaUnitProvider.d.ts +77 -77
  109. package/lib/cjs/UnitProvider/SchemaUnitProvider.js +234 -234
  110. package/lib/cjs/Validation/SchemaWalker.d.ts +23 -23
  111. package/lib/cjs/Validation/SchemaWalker.js +53 -53
  112. package/lib/cjs/ecschema-metadata.d.ts +51 -51
  113. package/lib/cjs/ecschema-metadata.js +100 -96
  114. package/lib/cjs/ecschema-metadata.js.map +1 -1
  115. package/lib/cjs/utils/SchemaGraph.d.ts +25 -25
  116. package/lib/cjs/utils/SchemaGraph.js +65 -65
  117. package/package.json +8 -8
@@ -1,35 +1,35 @@
1
- import { Schema } from "../Metadata/Schema";
2
- /**
3
- * Utility class for working with Schema graphs.
4
- * @internal
5
- */
6
- export declare class SchemaGraphUtil {
7
- /**
8
- * Creates a flattened list of schemas in topological order, typically used before schema import
9
- * so that dependent schemas are processed after their references.
10
- * @param insertSchema The schema to be imported.
11
- * @param schemas The schema collection that will hold the ordered schemas. If null, the collection
12
- * will be created internally and passed along during recursive calls.
13
- */
14
- static buildDependencyOrderedSchemaList(insertSchema: Schema, schemas?: Schema[]): Schema[];
15
- /**
16
- * Indicates if the given Schema references the possibleDependency Schema.
17
- * @param schema The possible dependent schema.
18
- * @param possibleDependency The possible Schema dependency.
19
- */
20
- private static dependsOn;
21
- /**
22
- * Indicates if the given Schema directly references the possiblyReferencedSchema Schema.
23
- * @param schema The possible parent schema.
24
- * @param possibleDependency The Schema that may be referenced.
25
- */
26
- private static directlyReferences;
27
- /**
28
- * Helper method that manages the insertion of a Schema into the schemas collection
29
- * based on the topological ordering algorithm.
30
- * @param schemas The ordered Schema collection.
31
- * @param insertSchema The Schema to insert.
32
- */
33
- private static insertSchemaInDependencyOrderedList;
34
- }
1
+ import { Schema } from "../Metadata/Schema";
2
+ /**
3
+ * Utility class for working with Schema graphs.
4
+ * @internal
5
+ */
6
+ export declare class SchemaGraphUtil {
7
+ /**
8
+ * Creates a flattened list of schemas in topological order, typically used before schema import
9
+ * so that dependent schemas are processed after their references.
10
+ * @param insertSchema The schema to be imported.
11
+ * @param schemas The schema collection that will hold the ordered schemas. If null, the collection
12
+ * will be created internally and passed along during recursive calls.
13
+ */
14
+ static buildDependencyOrderedSchemaList(insertSchema: Schema, schemas?: Schema[]): Schema[];
15
+ /**
16
+ * Indicates if the given Schema references the possibleDependency Schema.
17
+ * @param schema The possible dependent schema.
18
+ * @param possibleDependency The possible Schema dependency.
19
+ */
20
+ private static dependsOn;
21
+ /**
22
+ * Indicates if the given Schema directly references the possiblyReferencedSchema Schema.
23
+ * @param schema The possible parent schema.
24
+ * @param possibleDependency The Schema that may be referenced.
25
+ */
26
+ private static directlyReferences;
27
+ /**
28
+ * Helper method that manages the insertion of a Schema into the schemas collection
29
+ * based on the topological ordering algorithm.
30
+ * @param schemas The ordered Schema collection.
31
+ * @param insertSchema The Schema to insert.
32
+ */
33
+ private static insertSchemaInDependencyOrderedList;
34
+ }
35
35
  //# sourceMappingURL=SchemaGraphUtil.d.ts.map
@@ -1,78 +1,78 @@
1
- "use strict";
2
- /*---------------------------------------------------------------------------------------------
3
- * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
4
- * See LICENSE.md in the project root for license terms and full copyright notice.
5
- *--------------------------------------------------------------------------------------------*/
6
- Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.SchemaGraphUtil = void 0;
8
- /**
9
- * Utility class for working with Schema graphs.
10
- * @internal
11
- */
12
- class SchemaGraphUtil {
13
- /**
14
- * Creates a flattened list of schemas in topological order, typically used before schema import
15
- * so that dependent schemas are processed after their references.
16
- * @param insertSchema The schema to be imported.
17
- * @param schemas The schema collection that will hold the ordered schemas. If null, the collection
18
- * will be created internally and passed along during recursive calls.
19
- */
20
- static buildDependencyOrderedSchemaList(insertSchema, schemas) {
21
- if (!schemas)
22
- schemas = [];
23
- this.insertSchemaInDependencyOrderedList(schemas, insertSchema);
24
- for (const reference of insertSchema.references) {
25
- this.buildDependencyOrderedSchemaList(reference, schemas);
26
- }
27
- return schemas;
28
- }
29
- /**
30
- * Indicates if the given Schema references the possibleDependency Schema.
31
- * @param schema The possible dependent schema.
32
- * @param possibleDependency The possible Schema dependency.
33
- */
34
- static dependsOn(schema, possibleDependency) {
35
- if (this.directlyReferences(schema, possibleDependency))
36
- return true;
37
- // search for dependencies in indirect references
38
- for (const reference of schema.references) {
39
- if (this.dependsOn(reference, possibleDependency))
40
- return true;
41
- }
42
- return false;
43
- }
44
- /**
45
- * Indicates if the given Schema directly references the possiblyReferencedSchema Schema.
46
- * @param schema The possible parent schema.
47
- * @param possibleDependency The Schema that may be referenced.
48
- */
49
- static directlyReferences(schema, possiblyReferencedSchema) {
50
- for (const reference of schema.references) {
51
- if (reference === possiblyReferencedSchema)
52
- return true;
53
- }
54
- return false;
55
- }
56
- /**
57
- * Helper method that manages the insertion of a Schema into the schemas collection
58
- * based on the topological ordering algorithm.
59
- * @param schemas The ordered Schema collection.
60
- * @param insertSchema The Schema to insert.
61
- */
62
- static insertSchemaInDependencyOrderedList(schemas, insertSchema) {
63
- if (schemas.includes(insertSchema))
64
- return;
65
- for (let i = schemas.length - 1; i >= 0; --i) {
66
- const schema = schemas[i];
67
- if (this.dependsOn(insertSchema, schema)) {
68
- // insert right after the referenced schema in the list
69
- const index = schemas.indexOf(schema);
70
- schemas.splice(index + 1, 0, insertSchema);
71
- return;
72
- }
73
- }
74
- schemas.splice(0, 0, insertSchema);
75
- }
76
- }
77
- exports.SchemaGraphUtil = SchemaGraphUtil;
1
+ "use strict";
2
+ /*---------------------------------------------------------------------------------------------
3
+ * Copyright (c) Bentley Systems, Incorporated. All rights reserved.
4
+ * See LICENSE.md in the project root for license terms and full copyright notice.
5
+ *--------------------------------------------------------------------------------------------*/
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ exports.SchemaGraphUtil = void 0;
8
+ /**
9
+ * Utility class for working with Schema graphs.
10
+ * @internal
11
+ */
12
+ class SchemaGraphUtil {
13
+ /**
14
+ * Creates a flattened list of schemas in topological order, typically used before schema import
15
+ * so that dependent schemas are processed after their references.
16
+ * @param insertSchema The schema to be imported.
17
+ * @param schemas The schema collection that will hold the ordered schemas. If null, the collection
18
+ * will be created internally and passed along during recursive calls.
19
+ */
20
+ static buildDependencyOrderedSchemaList(insertSchema, schemas) {
21
+ if (!schemas)
22
+ schemas = [];
23
+ this.insertSchemaInDependencyOrderedList(schemas, insertSchema);
24
+ for (const reference of insertSchema.references) {
25
+ this.buildDependencyOrderedSchemaList(reference, schemas);
26
+ }
27
+ return schemas;
28
+ }
29
+ /**
30
+ * Indicates if the given Schema references the possibleDependency Schema.
31
+ * @param schema The possible dependent schema.
32
+ * @param possibleDependency The possible Schema dependency.
33
+ */
34
+ static dependsOn(schema, possibleDependency) {
35
+ if (this.directlyReferences(schema, possibleDependency))
36
+ return true;
37
+ // search for dependencies in indirect references
38
+ for (const reference of schema.references) {
39
+ if (this.dependsOn(reference, possibleDependency))
40
+ return true;
41
+ }
42
+ return false;
43
+ }
44
+ /**
45
+ * Indicates if the given Schema directly references the possiblyReferencedSchema Schema.
46
+ * @param schema The possible parent schema.
47
+ * @param possibleDependency The Schema that may be referenced.
48
+ */
49
+ static directlyReferences(schema, possiblyReferencedSchema) {
50
+ for (const reference of schema.references) {
51
+ if (reference === possiblyReferencedSchema)
52
+ return true;
53
+ }
54
+ return false;
55
+ }
56
+ /**
57
+ * Helper method that manages the insertion of a Schema into the schemas collection
58
+ * based on the topological ordering algorithm.
59
+ * @param schemas The ordered Schema collection.
60
+ * @param insertSchema The Schema to insert.
61
+ */
62
+ static insertSchemaInDependencyOrderedList(schemas, insertSchema) {
63
+ if (schemas.includes(insertSchema))
64
+ return;
65
+ for (let i = schemas.length - 1; i >= 0; --i) {
66
+ const schema = schemas[i];
67
+ if (this.dependsOn(insertSchema, schema)) {
68
+ // insert right after the referenced schema in the list
69
+ const index = schemas.indexOf(schema);
70
+ schemas.splice(index + 1, 0, insertSchema);
71
+ return;
72
+ }
73
+ }
74
+ schemas.splice(0, 0, insertSchema);
75
+ }
76
+ }
77
+ exports.SchemaGraphUtil = SchemaGraphUtil;
78
78
  //# sourceMappingURL=SchemaGraphUtil.js.map
@@ -1,86 +1,86 @@
1
- import { AbstractParser, CAProviderTuple } from "./AbstractParser";
2
- import { ConstantProps, CustomAttributeClassProps, EntityClassProps, EnumerationProps, FormatProps, InvertedUnitProps, KindOfQuantityProps, MixinProps, NavigationPropertyProps, PhenomenonProps, PrimitiveArrayPropertyProps, PrimitivePropertyProps, PropertyCategoryProps, RelationshipClassProps, SchemaProps, SchemaReferenceProps, StructArrayPropertyProps, StructClassProps, StructPropertyProps, UnitProps, UnitSystemProps } from "./JsonProps";
3
- /** @internal */
4
- export declare class XmlParser extends AbstractParser<Element> {
5
- private _rawSchema;
6
- private _schemaName?;
7
- private _schemaReferenceNames;
8
- private _schemaAlias;
9
- private _schemaVersion?;
10
- private _xmlNamespace?;
11
- private _ecXmlVersion?;
12
- private _currentItemFullName?;
13
- private _schemaItems;
14
- private _mapIsPopulated;
15
- constructor(rawSchema: Readonly<Document>);
16
- parseSchema(): SchemaProps;
17
- getReferences(): Iterable<SchemaReferenceProps>;
18
- getItems(): Iterable<[string, string, Element]>;
19
- findItem(itemName: string): [string, string, Element] | undefined;
20
- parseEntityClass(xmlElement: Element): EntityClassProps;
21
- parseMixin(xmlElement: Element): MixinProps;
22
- parseStructClass(xmlElement: Element): StructClassProps;
23
- parseCustomAttributeClass(xmlElement: Element): CustomAttributeClassProps;
24
- parseRelationshipClass(xmlElement: Element): RelationshipClassProps;
25
- parseEnumeration(xmlElement: Element): EnumerationProps;
26
- parseKindOfQuantity(xmlElement: Element): KindOfQuantityProps;
27
- parsePropertyCategory(xmlElement: Element): PropertyCategoryProps;
28
- parseUnit(xmlElement: Element): UnitProps;
29
- parseInvertedUnit(xmlElement: Element): InvertedUnitProps;
30
- parseConstant(xmlElement: Element): ConstantProps;
31
- parsePhenomenon(xmlElement: Element): PhenomenonProps;
32
- parseFormat(xmlElement: Element): FormatProps;
33
- parseUnitSystem(xmlElement: Element): UnitSystemProps;
34
- getProperties(xmlElement: Element, itemName: string): Iterable<[string, string, Element]>;
35
- parsePrimitiveProperty(xmlElement: Element): PrimitivePropertyProps;
36
- parseStructProperty(xmlElement: Element): StructPropertyProps;
37
- parsePrimitiveArrayProperty(xmlElement: Element): PrimitiveArrayPropertyProps;
38
- parseStructArrayProperty(xmlElement: Element): StructArrayPropertyProps;
39
- parseNavigationProperty(xmlElement: Element): NavigationPropertyProps;
40
- getSchemaCustomAttributeProviders(): Iterable<CAProviderTuple>;
41
- getClassCustomAttributeProviders(xmlElement: Element): Iterable<CAProviderTuple>;
42
- getPropertyCustomAttributeProviders(xmlElement: Element): Iterable<CAProviderTuple>;
43
- getRelationshipConstraintCustomAttributeProviders(xmlElement: Element): [Iterable<CAProviderTuple>, Iterable<CAProviderTuple>];
44
- private getElementChildren;
45
- private getElementChildrenByTagName;
46
- private getOptionalAttribute;
47
- private getOptionalFloatAttribute;
48
- private getOptionalIntAttribute;
49
- private parseBoolean;
50
- private getRequiredAttribute;
51
- private getSchemaReference;
52
- private getSchemaItemType;
53
- private getSchemaChildren;
54
- private getSchemaItemProps;
55
- private getClassProps;
56
- private getRelationshipConstraintProps;
57
- private getPropertyType;
58
- private getPropertyName;
59
- private getPropertyProps;
60
- private getPropertyTypeName;
61
- private getPrimitiveOrEnumPropertyBaseProps;
62
- private getPropertyMinAndMaxOccurs;
63
- private getCustomAttributeProviders;
64
- private getCustomAttributeProvider;
65
- private addCAPropertyValues;
66
- private readPropertyValue;
67
- private readArrayPropertyValue;
68
- private readPrimitiveArrayValues;
69
- private readStructArrayValues;
70
- private readStructPropertyValue;
71
- private readPrimitivePropertyValue;
72
- private getBooleanPropertyValue;
73
- private getIntegerPropertyValue;
74
- private getDatePropertyValue;
75
- private getDoublePropertyValue;
76
- private getPoint2DPropertyValue;
77
- private getPoint3DPropertyValue;
78
- private isSchemaFullNameValidForVersion;
79
- private parseXmlNamespace;
80
- private getQualifiedTypeName;
81
- /** The rest of the API uses the full name format of `{SchemaName}.{SchemaItemName}`,
82
- * meaning all of the references in the format string need to be changed.
83
- */
84
- private getQualifiedPresentationUnits;
85
- }
1
+ import { AbstractParser, CAProviderTuple } from "./AbstractParser";
2
+ import { ConstantProps, CustomAttributeClassProps, EntityClassProps, EnumerationProps, FormatProps, InvertedUnitProps, KindOfQuantityProps, MixinProps, NavigationPropertyProps, PhenomenonProps, PrimitiveArrayPropertyProps, PrimitivePropertyProps, PropertyCategoryProps, RelationshipClassProps, SchemaProps, SchemaReferenceProps, StructArrayPropertyProps, StructClassProps, StructPropertyProps, UnitProps, UnitSystemProps } from "./JsonProps";
3
+ /** @internal */
4
+ export declare class XmlParser extends AbstractParser<Element> {
5
+ private _rawSchema;
6
+ private _schemaName?;
7
+ private _schemaReferenceNames;
8
+ private _schemaAlias;
9
+ private _schemaVersion?;
10
+ private _xmlNamespace?;
11
+ private _ecXmlVersion?;
12
+ private _currentItemFullName?;
13
+ private _schemaItems;
14
+ private _mapIsPopulated;
15
+ constructor(rawSchema: Readonly<Document>);
16
+ parseSchema(): SchemaProps;
17
+ getReferences(): Iterable<SchemaReferenceProps>;
18
+ getItems(): Iterable<[string, string, Element]>;
19
+ findItem(itemName: string): [string, string, Element] | undefined;
20
+ parseEntityClass(xmlElement: Element): EntityClassProps;
21
+ parseMixin(xmlElement: Element): MixinProps;
22
+ parseStructClass(xmlElement: Element): StructClassProps;
23
+ parseCustomAttributeClass(xmlElement: Element): CustomAttributeClassProps;
24
+ parseRelationshipClass(xmlElement: Element): RelationshipClassProps;
25
+ parseEnumeration(xmlElement: Element): EnumerationProps;
26
+ parseKindOfQuantity(xmlElement: Element): KindOfQuantityProps;
27
+ parsePropertyCategory(xmlElement: Element): PropertyCategoryProps;
28
+ parseUnit(xmlElement: Element): UnitProps;
29
+ parseInvertedUnit(xmlElement: Element): InvertedUnitProps;
30
+ parseConstant(xmlElement: Element): ConstantProps;
31
+ parsePhenomenon(xmlElement: Element): PhenomenonProps;
32
+ parseFormat(xmlElement: Element): FormatProps;
33
+ parseUnitSystem(xmlElement: Element): UnitSystemProps;
34
+ getProperties(xmlElement: Element, itemName: string): Iterable<[string, string, Element]>;
35
+ parsePrimitiveProperty(xmlElement: Element): PrimitivePropertyProps;
36
+ parseStructProperty(xmlElement: Element): StructPropertyProps;
37
+ parsePrimitiveArrayProperty(xmlElement: Element): PrimitiveArrayPropertyProps;
38
+ parseStructArrayProperty(xmlElement: Element): StructArrayPropertyProps;
39
+ parseNavigationProperty(xmlElement: Element): NavigationPropertyProps;
40
+ getSchemaCustomAttributeProviders(): Iterable<CAProviderTuple>;
41
+ getClassCustomAttributeProviders(xmlElement: Element): Iterable<CAProviderTuple>;
42
+ getPropertyCustomAttributeProviders(xmlElement: Element): Iterable<CAProviderTuple>;
43
+ getRelationshipConstraintCustomAttributeProviders(xmlElement: Element): [Iterable<CAProviderTuple>, Iterable<CAProviderTuple>];
44
+ private getElementChildren;
45
+ private getElementChildrenByTagName;
46
+ private getOptionalAttribute;
47
+ private getOptionalFloatAttribute;
48
+ private getOptionalIntAttribute;
49
+ private parseBoolean;
50
+ private getRequiredAttribute;
51
+ private getSchemaReference;
52
+ private getSchemaItemType;
53
+ private getSchemaChildren;
54
+ private getSchemaItemProps;
55
+ private getClassProps;
56
+ private getRelationshipConstraintProps;
57
+ private getPropertyType;
58
+ private getPropertyName;
59
+ private getPropertyProps;
60
+ private getPropertyTypeName;
61
+ private getPrimitiveOrEnumPropertyBaseProps;
62
+ private getPropertyMinAndMaxOccurs;
63
+ private getCustomAttributeProviders;
64
+ private getCustomAttributeProvider;
65
+ private addCAPropertyValues;
66
+ private readPropertyValue;
67
+ private readArrayPropertyValue;
68
+ private readPrimitiveArrayValues;
69
+ private readStructArrayValues;
70
+ private readStructPropertyValue;
71
+ private readPrimitivePropertyValue;
72
+ private getBooleanPropertyValue;
73
+ private getIntegerPropertyValue;
74
+ private getDatePropertyValue;
75
+ private getDoublePropertyValue;
76
+ private getPoint2DPropertyValue;
77
+ private getPoint3DPropertyValue;
78
+ private isSchemaFullNameValidForVersion;
79
+ private parseXmlNamespace;
80
+ private getQualifiedTypeName;
81
+ /** The rest of the API uses the full name format of `{SchemaName}.{SchemaItemName}`,
82
+ * meaning all of the references in the format string need to be changed.
83
+ */
84
+ private getQualifiedPresentationUnits;
85
+ }
86
86
  //# sourceMappingURL=XmlParser.d.ts.map