Package org.commonmark.ext.footnotes
Class FootnoteDefinition
- java.lang.Object
-
- org.commonmark.node.Node
-
- org.commonmark.node.Block
-
- org.commonmark.node.CustomBlock
-
- org.commonmark.ext.footnotes.FootnoteDefinition
-
public class FootnoteDefinition extends CustomBlock
A footnote definition, e.g.:
The[^foo]: This is the footnote text
label
is the text in brackets after^
, sofoo
in the example. The contents of the footnote are child nodes of the definition, aParagraph
in the example.Footnote definitions are parsed even if there's no corresponding
FootnoteReference
.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
label
-
Constructor Summary
Constructors Constructor Description FootnoteDefinition(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.CustomBlock
accept
-
Methods inherited from class org.commonmark.node.Node
addSourceSpan, appendChild, getFirstChild, getLastChild, getNext, getPrevious, getSourceSpans, insertAfter, insertBefore, prependChild, setSourceSpans, toString, toStringAttributes, unlink
-
-