HED JavaScript Library
    Preparing search index...

    Class SchemaEntryParser<T>Abstract

    A parser for a specific SchemaEntry subtype, run over every schema of a merge group.

    Type Parameters

    • T

    Hierarchy (View Summary)

    Index
    entryTypeMap: Map<string, T>

    The map of names to entry objects for this entry type.

    xmlCollection: HedSchemaXMLCollection

    The collection of XML data for a given prefix.

    • Protected

      Parse this entry type for a specific schema.

      Parameters

      • schemaXml: Object

        The XML for a specific schema.

      Returns void

    • Protected

      Preprocess the schema collection.

      Parameters

      • schemaXml: HedSchemaXMLCollection

        The XML collection.

      Returns void

    • Add a new entry while checking for duplicates.

      An existing declaration of the same name is kept if the new one is equivalent to it.

      Parameters

      • newEntryName: string

        The entry name.

      • newEntry: T

        The new entry object to add.

      Returns void

      If an entry of that name exists and is not equivalent.