Package org.asciidoctor.jruby.ast.impl
Class FootnoteImpl
- java.lang.Object
-
- org.asciidoctor.jruby.ast.impl.FootnoteImpl
-
-
Constructor Summary
Constructors Constructor Description FootnoteImpl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getId()
Each footnote can optionally have an id.java.lang.Long
getIndex()
The index is the number asciidoctor has assigned to the footnote.static Footnote
getInstance(java.lang.Long index, java.lang.String id, java.lang.String text)
static Footnote
getInstance(org.jruby.RubyStruct rubyFootnote)
java.lang.String
getText()
-
-
-
Method Detail
-
getInstance
public static Footnote getInstance(java.lang.Long index, java.lang.String id, java.lang.String text)
-
getInstance
public static Footnote getInstance(org.jruby.RubyStruct rubyFootnote)
-
getIndex
public java.lang.Long getIndex()
Description copied from interface:Footnote
The index is the number asciidoctor has assigned to the footnote. Footnotes start at 1 and are numbered consecutively throughout the document.
-
getId
public java.lang.String getId()
Description copied from interface:Footnote
Each footnote can optionally have an id. Ids are used when a document author wants to reference a single footnote more than once.
-
-