Class FootnoteRepository
- java.lang.Object
-
- com.vladsch.flexmark.util.ast.NodeRepository<FootnoteBlock>
-
- com.vladsch.flexmark.ext.footnotes.internal.FootnoteRepository
-
- All Implemented Interfaces:
java.util.Map<java.lang.String,FootnoteBlock>
public class FootnoteRepository extends NodeRepository<FootnoteBlock>
-
-
Field Summary
-
Fields inherited from class com.vladsch.flexmark.util.ast.NodeRepository
keepType, nodeList, nodeMap
-
-
Constructor Summary
Constructors Constructor Description FootnoteRepository(DataHolder options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addFootnoteReference(FootnoteBlock footnoteBlock, Footnote footnote)
DataKey<FootnoteRepository>
getDataKey()
DataKey<KeepType>
getKeepDataKey()
java.util.Set<FootnoteBlock>
getReferencedElements(Node parent)
java.util.List<FootnoteBlock>
getReferencedFootnoteBlocks()
void
resolveFootnoteOrdinals()
static void
resolveFootnotes(Document document)
-
Methods inherited from class com.vladsch.flexmark.util.ast.NodeRepository
clear, containsKey, containsValue, entrySet, equals, get, getFromRaw, getValues, hashCode, isEmpty, keySet, normalizeKey, put, putAll, putRawKey, remove, size, transferReferences, values, visitNodes
-
-
-
-
Constructor Detail
-
FootnoteRepository
public FootnoteRepository(DataHolder options)
-
-
Method Detail
-
resolveFootnotes
public static void resolveFootnotes(Document document)
-
addFootnoteReference
public void addFootnoteReference(FootnoteBlock footnoteBlock, Footnote footnote)
-
resolveFootnoteOrdinals
public void resolveFootnoteOrdinals()
-
getReferencedFootnoteBlocks
public java.util.List<FootnoteBlock> getReferencedFootnoteBlocks()
-
getDataKey
@NotNull public DataKey<FootnoteRepository> getDataKey()
- Specified by:
getDataKey
in classNodeRepository<FootnoteBlock>
-
getKeepDataKey
@NotNull public DataKey<KeepType> getKeepDataKey()
- Specified by:
getKeepDataKey
in classNodeRepository<FootnoteBlock>
-
getReferencedElements
@NotNull public java.util.Set<FootnoteBlock> getReferencedElements(Node parent)
- Specified by:
getReferencedElements
in classNodeRepository<FootnoteBlock>
-
-