| Modifier and Type | Field and Description |
|---|---|
| public static final HashSet | |
| protected final B | |
| protected final Comparator | |
| private final DataKey | |
| private final DataKey | |
| protected boolean | |
| protected final List | |
| protected final R | |
| private Map | |
| protected Map | |
| protected boolean | |
| protected final HashSet |
| Access | Constructor and Description |
|---|---|
| public | NodeRepositoryFormatter(DataHolder options, DataKey<Map<String, String>> referenceMapKey, DataKey<Map<String, String>> uniquificationMapKey)
|
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public @Nullable Set | |
| public Comparator | |
| public abstract ElementPlacement | |
| public abstract ElementPlacementSort | |
| public abstract R | |
| protected ElementPlacement | |
| protected boolean | Returns: true if yes, false if leave all references as isWhether references should be made unique |
| public String | |
| public void | renderDocument(@NotNull NodeFormatterContext context, @NotNull MarkdownWriter markdown, @NotNull Document document, @NotNull FormattingPhase phase)
|
| protected void | |
| protected abstract void | |
| private void | |
| protected String | |
| protected void | uniquifyIds(NodeFormatterContext context, MarkdownWriter markdown, Document document)
Compute needed id map to make reference ids unique across documents[] up to entry equal to document and store this map in document property so that it can be retrieved from the document later when computing the map by documents after this document in the list. |
| FORMATTING_PHASES | back to summary |
|---|---|
| public static final HashSet<FormattingPhase> FORMATTING_PHASES | |
| lastReference | back to summary |
|---|---|
| protected final B lastReference | |
| myComparator | back to summary |
|---|---|
| protected final Comparator<B> myComparator | |
| myReferenceMapKey | back to summary |
|---|---|
| private final DataKey<Map<String, String>> myReferenceMapKey | |
| myReferenceUniqificationMapKey | back to summary |
|---|---|
| private final DataKey<Map<String, String>> myReferenceUniqificationMapKey | |
| recheckUndefinedReferences | back to summary |
|---|---|
| protected boolean recheckUndefinedReferences | |
| referenceList | back to summary |
|---|---|
| protected final List<B> referenceList | |
| referenceRepository | back to summary |
|---|---|
| protected final R referenceRepository | |
| referenceTranslationMap | back to summary |
|---|---|
| private Map<String, String> referenceTranslationMap | |
| referenceUniqificationMap | back to summary |
|---|---|
| protected Map<String, String> referenceUniqificationMap | |
| repositoryNodesDone | back to summary |
|---|---|
| protected boolean repositoryNodesDone | |
| unusedReferences | back to summary |
|---|---|
| protected final HashSet<Node> unusedReferences | |
| NodeRepositoryFormatter | back to summary |
|---|---|
| public NodeRepositoryFormatter(DataHolder options, DataKey<Map<String, String>> referenceMapKey, DataKey<Map<String, String>> uniquificationMapKey) | |
| formatReferences | back to summary |
|---|---|
| private void formatReferences(NodeFormatterContext context, MarkdownWriter markdown) | |
| getFormattingPhases | back to summary |
|---|---|
| public @Nullable Set Implements com. | |
| getReferenceComparator | back to summary |
|---|---|
| public Comparator | |
| getReferencePlacement | back to summary |
|---|---|
| public abstract ElementPlacement getReferencePlacement() | |
| getReferenceSort | back to summary |
|---|---|
| public abstract ElementPlacementSort getReferenceSort() | |
| getRepository | back to summary |
|---|---|
| public abstract R getRepository(DataHolder options) | |
| getTranslationReferencePlacement | back to summary |
|---|---|
| protected ElementPlacement getTranslationReferencePlacement(NodeFormatterContext context) | |
| makeReferencesUnique | back to summary |
|---|---|
| protected boolean makeReferencesUnique() Whether references should be made unique
| |
| modifyTransformedReference | back to summary |
|---|---|
| public String modifyTransformedReference(String transformedReferenceId, NodeFormatterContext context) | |
| renderDocument | back to summary |
|---|---|
public void renderDocument(@NotNull NodeFormatterContext context, @NotNull MarkdownWriter markdown, @NotNull Document document, @NotNull FormattingPhase phase)
| |
| renderReference | back to summary |
|---|---|
| protected void renderReference(B node, NodeFormatterContext context, MarkdownWriter markdown) | |
| renderReferenceBlock | back to summary |
|---|---|
| protected abstract void renderReferenceBlock(B node, NodeFormatterContext context, MarkdownWriter markdown) | |
| renderReferenceBlockUnique | back to summary |
|---|---|
| private void renderReferenceBlockUnique(B node, NodeFormatterContext context, MarkdownWriter markdown) | |
| transformReferenceId | back to summary |
|---|---|
| protected String transformReferenceId(String nodeText, NodeFormatterContext context) | |
| uniquifyIds | back to summary |
|---|---|
| protected void uniquifyIds(NodeFormatterContext context, MarkdownWriter markdown, Document document) Compute needed id map to make reference ids unique across documents[] up to entry equal to document and store this map in document property so that it can be retrieved from the document later when computing the map by documents after this document in the list. | |