Class FootnoteRepository
java.lang.Object
com.vladsch.flexmark.util.ast.NodeRepository<FootnoteBlock>
com.vladsch.flexmark.ext.footnotes.internal.FootnoteRepository
- All Implemented Interfaces:
Map<String, FootnoteBlock>
-
Nested Class Summary
-
Field Summary
FieldsFields inherited from class NodeRepository
keepType, nodeList, nodeMap -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFootnoteReference(FootnoteBlock footnoteBlock, Footnote footnote) @NotNull DataKey<FootnoteRepository> @NotNull Set<FootnoteBlock> getReferencedElements(Node parent) voidstatic voidresolveFootnotes(Document document) Methods inherited from class NodeRepository
clear, containsKey, containsValue, entrySet, equals, get, getFromRaw, getValues, hashCode, isEmpty, keySet, normalizeKey, put, putAll, putRawKey, remove, size, transferReferences, values, visitNodesMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
referencedFootnoteBlocks
-
-
Constructor Details
-
FootnoteRepository
-
-
Method Details
-
resolveFootnotes
-
addFootnoteReference
-
resolveFootnoteOrdinals
public void resolveFootnoteOrdinals() -
getReferencedFootnoteBlocks
-
getDataKey
- Specified by:
getDataKeyin classNodeRepository<FootnoteBlock>
-
getKeepDataKey
- Specified by:
getKeepDataKeyin classNodeRepository<FootnoteBlock>
-
getReferencedElements
- Specified by:
getReferencedElementsin classNodeRepository<FootnoteBlock>
-