Vinyl
    Preparing search index...

    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<T>;
        attributes: ReadonlyMap<string, MappedAttributeRule>;
        characters: undefined | MappedCharactersRule;
        elements: ReadonlyMap<string, MappedElementsRule>;
    }

    Type Parameters

    • T
    Index

    Properties

    __type: Invariant<T>

    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>