Class FootnoteHtmlNodeRenderer.ShallowReferenceVisitor
java.lang.Object
org.commonmark.node.AbstractVisitor
org.commonmark.ext.footnotes.internal.FootnoteHtmlNodeRenderer.ShallowReferenceVisitor
- All Implemented Interfaces:
Visitor
- Enclosing class:
FootnoteHtmlNodeRenderer
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 Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
ShallowReferenceVisitor
(Node parent, Consumer<Node> consumer) -
Method Summary
-
Field Details
-
parent
-
consumer
-
-
Constructor Details
-
ShallowReferenceVisitor
-
-
Method Details
-
visit
- Specified by:
visit
in interfaceVisitor
- Overrides:
visit
in classAbstractVisitor
-