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.StringgetId()Each footnote can optionally have an id.java.lang.LonggetIndex()The index is the number asciidoctor has assigned to the footnote.static FootnotegetInstance(java.lang.Long index, java.lang.String id, java.lang.String text)static FootnotegetInstance(org.jruby.RubyStruct rubyFootnote)java.lang.StringgetText()
-
-
-
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:FootnoteThe 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:FootnoteEach footnote can optionally have an id. Ids are used when a document author wants to reference a single footnote more than once.
-
-