Top Inners Fields Constructors Methods
com.vladsch.flexmark.ext.enumerated.reference.internal

public Class EnumeratedReferenceNodeFormatter

extends NodeRepositoryFormatter<EnumeratedReferenceRepository, EnumeratedReferenceBlock, EnumeratedReferenceText>
Class Inheritance
Imports
com.vladsch.flexmark.ext.attributes.internal.AttributesNodeFormatter, com.vladsch.flexmark.ext.enumerated.reference.*, com.vladsch.flexmark.formatter.*, com.vladsch.flexmark.util.data.DataHolder, com.vladsch.flexmark.util.format.options.ElementPlacement, .ElementPlacementSort, com.vladsch.flexmark.util.sequence.BasedSequence, org.jetbrains.annotations.NotNull, .Nullable, java.util.Arrays, .HashSet, .Set

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
private final EnumeratedReferenceFormatOptions
Inherited from com.vladsch.flexmark.formatter.NodeRepositoryFormatter:
FORMATTING_PHASESlastReferencemyComparatorrecheckUndefinedReferencesreferenceListreferenceRepositoryreferenceUniqificationMaprepositoryNodesDoneunusedReferences

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public @Nullable Set<Class<?>>
getNodeClasses()

Implements com.vladsch.flexmark.formatter.NodeFormatter.getNodeClasses.

Collect nodes of given type so that they can be quickly accessed without traversing the AST by all formatting extensions.

public @Nullable Set<NodeFormattingHandler<?>>
public ElementPlacement
public ElementPlacementSort
public EnumeratedReferenceRepository
private void
private void
protected void
private static void
Inherited from com.vladsch.flexmark.formatter.NodeRepositoryFormatter:
getFormattingPhasesgetReferenceComparatorgetTranslationReferencePlacementmakeReferencesUniquemodifyTransformedReferencerenderDocumentrenderReferencetransformReferenceIduniquifyIds

Field Detail

optionsback to summary
private final EnumeratedReferenceFormatOptions options

Constructor Detail

EnumeratedReferenceNodeFormatterback to summary
public EnumeratedReferenceNodeFormatter(DataHolder options)

Method Detail

getNodeClassesback to summary
public @Nullable Set<Class<?>> getNodeClasses()

Implements com.vladsch.flexmark.formatter.NodeFormatter.getNodeClasses.

Doc from com.vladsch.flexmark.formatter.NodeFormatter.getNodeClasses.

Collect nodes of given type so that they can be quickly accessed without traversing the AST by all formatting extensions.

Returns:@Nullable Set<Class<?>>

the nodes of interest to this formatter during formatting.

Annotations
@Nullable
@Override
getNodeFormattingHandlersback to summary
public @Nullable Set<NodeFormattingHandler<?>> getNodeFormattingHandlers()

Implements com.vladsch.flexmark.formatter.NodeFormatter.getNodeFormattingHandlers.

Returns:@Nullable Set<NodeFormattingHandler<?>>

Doc from com.vladsch.flexmark.formatter.NodeFormatter.getNodeFormattingHandlers.

the mapping of nodes this renderer handles to rendering function

Annotations
@Nullable
@Override
getReferencePlacementback to summary
public ElementPlacement getReferencePlacement()

Implements abstract com.vladsch.flexmark.formatter.NodeRepositoryFormatter.getReferencePlacement.

Annotations
@Override
getReferenceSortback to summary
public ElementPlacementSort getReferenceSort()

Implements abstract com.vladsch.flexmark.formatter.NodeRepositoryFormatter.getReferenceSort.

Annotations
@Override
getRepositoryback to summary
public EnumeratedReferenceRepository getRepository(DataHolder options)

Implements abstract com.vladsch.flexmark.formatter.NodeRepositoryFormatter.getRepository.

Annotations
@Override
renderback to summary
private void render(EnumeratedReferenceBlock node, NodeFormatterContext context, MarkdownWriter markdown)
renderback to summary
private void render(EnumeratedReferenceText node, NodeFormatterContext context, MarkdownWriter markdown)
renderReferenceBlockback to summary
protected void renderReferenceBlock(EnumeratedReferenceBlock node, NodeFormatterContext context, MarkdownWriter markdown)

Implements abstract com.vladsch.flexmark.formatter.NodeRepositoryFormatter.renderReferenceBlock.

Annotations
@Override
renderReferenceTextback to summary
private static void renderReferenceText(BasedSequence text, NodeFormatterContext context, MarkdownWriter markdown)
com.vladsch.flexmark.ext.enumerated.reference.internal back to summary

public Class EnumeratedReferenceNodeFormatter.Factory

extends Object
implements NodeFormatterFactory
Class Inheritance
  • java.lang.Object
  • com.vladsch.flexmark.ext.enumerated.reference.internal.EnumeratedReferenceNodeFormatter.Factory
All Implemented Interfaces
com.vladsch.flexmark.formatter.NodeFormatterFactory, com.vladsch.flexmark.util.dependency.Dependent

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public @NotNull NodeFormatter
public @Nullable Set<Class<?>>
public @Nullable Set<Class<?>>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Factoryback to summary
public Factory()

Method Detail

createback to summary
public @NotNull NodeFormatter create(@NotNull DataHolder options)
Annotations
@NotNull
@Override
getAfterDependentsback to summary
public @Nullable Set<Class<?>> getAfterDependents()

Overrides default com.vladsch.flexmark.formatter.NodeFormatterFactory.getAfterDependents.

Returns:@Nullable Set<Class<?>>

Doc from com.vladsch.flexmark.formatter.NodeFormatterFactory.getAfterDependents.

null or a list of processors that must be executed before calling this one if any of the blocks in the list affect global state then these will be run on ALL blocks of the document before this pre processor is called.

Annotations
@Nullable
@Override
getBeforeDependentsback to summary
public @Nullable Set<Class<?>> getBeforeDependents()

Overrides default com.vladsch.flexmark.formatter.NodeFormatterFactory.getBeforeDependents.

Returns:@Nullable Set<Class<?>>

Doc from com.vladsch.flexmark.formatter.NodeFormatterFactory.getBeforeDependents.

null or a list of processors before which this has to be run if any of the blocks in the list affect global state then these will be run on ALL blocks of the document before this pre processor is called.

Annotations
@Nullable
@Override