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 textlabelis the text in brackets after^, sofooin the example. The contents of the footnote are child nodes of the definition, aParagraphin the example.Footnote definitions are parsed even if there's no corresponding
FootnoteReference.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringlabel
-
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.StringgetLabel()-
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
-
-