Class FootnoteNodeFormatter
java.lang.Object
com.vladsch.flexmark.formatter.NodeRepositoryFormatter<FootnoteRepository,FootnoteBlock,Footnote>
com.vladsch.flexmark.ext.footnotes.internal.FootnoteNodeFormatter
- All Implemented Interfaces:
NodeFormatter,PhasedNodeFormatter
public class FootnoteNodeFormatter
extends NodeRepositoryFormatter<FootnoteRepository,FootnoteBlock,Footnote>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class com.vladsch.flexmark.formatter.NodeRepositoryFormatter
FORMATTING_PHASES, lastReference, myComparator, recheckUndefinedReferences, referenceList, referenceRepository, referenceUniqificationMap, repositoryNodesDone, unusedReferences -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollect nodes of given type so that they can be quickly accessed without traversing the AST by all formatting extensions.@Nullable Set<NodeFormattingHandler<?>>getRepository(DataHolder options) private voidrender(FootnoteBlock node, NodeFormatterContext context, MarkdownWriter markdown) private voidrender(Footnote node, NodeFormatterContext context, MarkdownWriter markdown) voidrenderReferenceBlock(FootnoteBlock node, NodeFormatterContext context, MarkdownWriter markdown) Methods inherited from class com.vladsch.flexmark.formatter.NodeRepositoryFormatter
getFormattingPhases, getReferenceComparator, getTranslationReferencePlacement, makeReferencesUnique, modifyTransformedReference, renderDocument, renderReference, transformReferenceId, uniquifyIdsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vladsch.flexmark.formatter.NodeFormatter
getBlockQuoteLikePrefixChar
-
Field Details
-
FOOTNOTE_TRANSLATION_MAP
-
FOOTNOTE_UNIQUIFICATION_MAP
-
options
-
-
Constructor Details
-
FootnoteNodeFormatter
-
-
Method Details
-
getRepository
- Specified by:
getRepositoryin classNodeRepositoryFormatter<FootnoteRepository,FootnoteBlock, Footnote>
-
getReferencePlacement
- Specified by:
getReferencePlacementin classNodeRepositoryFormatter<FootnoteRepository,FootnoteBlock, Footnote>
-
getReferenceSort
- Specified by:
getReferenceSortin classNodeRepositoryFormatter<FootnoteRepository,FootnoteBlock, Footnote>
-
renderReferenceBlock
public void renderReferenceBlock(FootnoteBlock node, NodeFormatterContext context, MarkdownWriter markdown) - Specified by:
renderReferenceBlockin classNodeRepositoryFormatter<FootnoteRepository,FootnoteBlock, Footnote>
-
getNodeFormattingHandlers
- Returns:
- the mapping of nodes this renderer handles to rendering function
-
getNodeClasses
Description copied from interface:NodeFormatterCollect nodes of given type so that they can be quickly accessed without traversing the AST by all formatting extensions.- Returns:
- the nodes of interest to this formatter during formatting.
-
render
-
render
-