Interface MappedXmlRules<T>

A machine-readable representation of parse rules for random access based on qualified namespace keys.

Rule keys will either be namespaceUri:localPart or just localPart for wildcard rules if namespaceUri is not defined in the handler.

interface MappedXmlRules<T> {
    __type: Invariant<DeepOmit<T, ReservedXmlRuleKeys>>;
    attributes: ReadonlyMap<string, MappedAttributeRule>;
    characters: undefined | MappedCharactersRule;
    elements: ReadonlyMap<string, MappedElementsRule>;
}

Type Parameters

  • T

Properties

Enforces that this rule set can only be used to parse the expected type T.

attributes: ReadonlyMap<string, MappedAttributeRule>
characters: undefined | MappedCharactersRule
elements: ReadonlyMap<string, MappedElementsRule>