Interface Parser.ReferenceHoldingExtension

  • All Superinterfaces:
    Extension
    All Known Implementing Classes:
    AbbreviationExtension, EnumeratedReferenceExtension, FootnoteExtension, MacrosExtension, ZzzzzzExtension
    Enclosing class:
    Parser

    public static interface Parser.ReferenceHoldingExtension
    extends Extension
    Should be implemented by all extensions that create a node repository or other references in the document. It is used by the parser to transfer references from included document to the document that is doing the inclusion so that during rendering references in the included document will appear as local references to the document being rendered.

    Extension for Parser.

    • Method Detail

      • transferReferences

        boolean transferReferences​(MutableDataHolder document,
                                   DataHolder included)
        This method is called to transfer references from included document to the source document
        Parameters:
        document - destination document for references
        included - source document for references
        Returns:
        true if there were references to transfer