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

    Used for programmatically building EPUB CFI model objects from XML-based documents. This class is used internally by the framework and is not intended to be used by framework users.

    Implements

    Constructors

    Methods

    • Creates a new IEpubCfiLocalPathNode with all steps necessary to select the specified element from its owner document.

      Parameters

      • element: Element

      Returns void

    • Appends a terminal local path to the specified container node and offset. If the container node is an Element, the offset specifies the child node within that element. If the container node is a Text node, the offset specified the character offset.

      Parameters

      • container: Node
      • offset: number

      Returns void

    • Collapses the range epubcfi to its end position. If the epubcfi does not define a range, nothing is done.

      Returns void

    • Collapses the range epubcfi to its start position. If the epubcfi does not define a range, nothing is done.

      Returns void

    • Serializes the current state of the EPUB CFI model as a selector fragment string.

      Returns string