Colibrio Reader Framework API - Cloud license
    Preparing search index...

    A SelectorDataParser implementation that can parse Range Selector JSON object as defined in https://www.w3.org/TR/annotation-model/#range-selector

    Implements

    Constructors

    Methods

    • Should return true if this instance is able to parse the selector data into a Selector implementation. If this method returns true, parseSelectorData() will be called with the selectorData by the SelectorFactory.

      Parameters

      Returns boolean

    • Should parse the given selector data into a Selector implementation. This method must only be called if canParseSelectorData() returns true for the specified selectorData.

      Parameters

      • selectorData: ISelectorData

        The JSON data to parse into a Selector.

      • selectorFactory: ISelectorFactory

        The SelectorFactory instance that is calling this method. This factory should be used to parse refinement selectors.

      Returns IRangeSelector

      The Selector instance if the parsing was successful, null otherwise.