SchemaXmlFileLocater Class @preview
A SchemaLocater implementation for locating XML Schema files from the file system using configurable search paths. This is a workaround the current lack of a full xml parser.
Extends
Extended by
Implements
Methods
| Name | Description | |
|---|---|---|
| constructor(): SchemaXmlFileLocater | ||
| getSchema(key: SchemaKey, matchType: SchemaMatchType, context: SchemaContext): Promise<undefined | Schema> | Attempts to retrieve a Schema with the given SchemaKey by using the configured search paths | |
| getSchemaInfo(schemaKey: SchemaKey, matchType: SchemaMatchType, context: SchemaContext): Promise<undefined | SchemaInfo> | Gets the schema info which matches the provided SchemaKey. | |
| getSchemaKey(data: string): SchemaKey | Constructs a SchemaKey based on the information in the Schema XML. | |
| getSchemaSync(key: SchemaKey, matchType: SchemaMatchType, context: SchemaContext): undefined | Schema | Attempts to retrieve a Schema with the given SchemaKey by using the configured search paths |
Inherited methods
| Name | Inherited from | Description |
|---|---|---|
| addSchemaSearchPath(schemaPath: string): void Inherited | SchemaFileLocater | Add one search path used by this locator to find the |
| addSchemaSearchPaths(schemaPaths: string[]): void Inherited | SchemaFileLocater | Adds more search paths used by this locator to find the |
Defined in
Last Updated: 24 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.