Class FootnoteHtmlNodeRenderer.ShallowReferenceVisitor

  • All Implemented Interfaces:
    Visitor
    Enclosing class:
    FootnoteHtmlNodeRenderer

    private static class FootnoteHtmlNodeRenderer.ShallowReferenceVisitor
    extends AbstractVisitor
    Visit footnote references/inline footnotes inside the parent (but not the parent itself). We want a shallow visit because the caller wants to control when to descend.
    • Field Detail

      • parent

        private final Node parent
      • consumer

        private final java.util.function.Consumer<Node> consumer
    • Constructor Detail

      • ShallowReferenceVisitor

        private ShallowReferenceVisitor​(Node parent,
                                        java.util.function.Consumer<Node> consumer)