Package org.commonmark.ext.footnotes
Class FootnoteReference
- java.lang.Object
-
- org.commonmark.node.Node
-
- org.commonmark.node.CustomNode
-
- org.commonmark.ext.footnotes.FootnoteReference
-
public class FootnoteReference extends CustomNode
A footnote reference, e.g.[^foo]
inSome text with a footnote[^foo]
The
label
is the text within brackets after^
, sofoo
in the example. It needs to match the label of a correspondingFootnoteDefinition
for the footnote to be parsed.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
label
-
Constructor Summary
Constructors Constructor Description FootnoteReference(java.lang.String label)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getLabel()
-
Methods inherited from class org.commonmark.node.CustomNode
accept
-
Methods inherited from class org.commonmark.node.Node
addSourceSpan, appendChild, getFirstChild, getLastChild, getNext, getParent, getPrevious, getSourceSpans, insertAfter, insertBefore, prependChild, setParent, setSourceSpans, toString, toStringAttributes, unlink
-
-