| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| private int | |
| private Map | |
| private Map | |
| private Map | |
| private Map | |
| private final AttributesFormatOptions | |
| public static final DataKey |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addExplicitId(@NotNull Node node, @Nullable String id, @NotNull NodeFormatterContext context, @NotNull MarkdownWriter markdown)
|
| pack-priv static AttributeNode | |
| public static String | getEncodedIdAttribute(String category, String categoryId, NodeFormatterContext context, MarkdownWriter markdown)
|
| private static String | getEncodedIdAttribute(String category, String categoryId, NodeFormatterContext context, MarkdownWriter markdown, Map<String, String> attributeTranslationMap, Map<String, String> attributeTranslatedMap)
|
| private String | |
| public @Nullable Set | |
| public @Nullable Set | getNodeClasses()
Implements com. Collect nodes of given type so that they can be quickly accessed without traversing the AST by all formatting extensions. |
| public @Nullable Set | |
| pack-priv boolean | |
| pack-priv void | |
| public void | renderDocument(@NotNull NodeFormatterContext context, @NotNull MarkdownWriter markdown, @NotNull Document document, @NotNull FormattingPhase phase)
|
| ATTRIBUTE_ORIGINAL_ID_MAP | back to summary |
|---|---|
| public static final DataKey<Map<String, String>> ATTRIBUTE_ORIGINAL_ID_MAP | |
| ATTRIBUTE_TRANSLATED_MAP | back to summary |
|---|---|
| public static final DataKey<Map<String, String>> ATTRIBUTE_TRANSLATED_MAP | |
| ATTRIBUTE_TRANSLATION_ID | back to summary |
|---|---|
| public static final DataKey<Integer> ATTRIBUTE_TRANSLATION_ID | |
| ATTRIBUTE_TRANSLATION_MAP | back to summary |
|---|---|
| public static final DataKey<Map<String, String>> ATTRIBUTE_TRANSLATION_MAP | |
| ATTRIBUTE_UNIQUIFICATION_CATEGORY_MAP | back to summary |
|---|---|
| public static final DataKey<Map<String, String>> ATTRIBUTE_UNIQUIFICATION_CATEGORY_MAP | |
| ATTRIBUTE_UNIQUIFICATION_ID_MAP | back to summary |
|---|---|
| public static final DataKey<Map<String, String>> ATTRIBUTE_UNIQUIFICATION_ID_MAP | |
| attributeOriginalId | back to summary |
|---|---|
| private int attributeOriginalId | |
| attributeOriginalIdMap | back to summary |
|---|---|
| private Map<String, String> attributeOriginalIdMap | |
| attributeTranslatedMap | back to summary |
|---|---|
| private Map<String, String> attributeTranslatedMap | |
| attributeTranslationMap | back to summary |
|---|---|
| private Map<String, String> attributeTranslationMap | |
| attributeUniquificationIdMap | back to summary |
|---|---|
| private Map<String, String> attributeUniquificationIdMap | |
| formatOptions | back to summary |
|---|---|
| private final AttributesFormatOptions formatOptions | |
| PROCESSED_ATTRIBUTES | back to summary |
|---|---|
| public static final DataKey<Set<Node>> PROCESSED_ATTRIBUTES | |
| AttributesNodeFormatter | back to summary |
|---|---|
| public AttributesNodeFormatter(DataHolder options) | |
| addExplicitId | back to summary |
|---|---|
public void addExplicitId(@NotNull Node node, @Nullable String id, @NotNull NodeFormatterContext context, @NotNull MarkdownWriter markdown)
| |
| combineAttributes | back to summary |
|---|---|
| pack-priv static AttributeNode combineAttributes(LinkedHashMap<String, AttributeNode> attributeNodes, AttributeNode attributeNode) | |
| getEncodedIdAttribute | back to summary |
|---|---|
| public static String getEncodedIdAttribute(String category, String categoryId, NodeFormatterContext context, MarkdownWriter markdown) | |
| getEncodedIdAttribute | back to summary |
|---|---|
| private static String getEncodedIdAttribute(String category, String categoryId, NodeFormatterContext context, MarkdownWriter markdown, Map<String, String> attributeTranslationMap, Map<String, String> attributeTranslatedMap) | |
| getEncodedOriginalId | back to summary |
|---|---|
| private String getEncodedOriginalId(String attribute, NodeFormatterContext context) | |
| getFormattingPhases | back to summary |
|---|---|
| public @Nullable Set Implements com. | |
| getNodeClasses | back to summary |
|---|---|
| public @Nullable Set Implements com. Doc from com. Collect nodes of given type so that they can be quickly accessed without traversing the AST by all formatting extensions. | |
| getNodeFormattingHandlers | back to summary |
|---|---|
| public @Nullable Set Implements com.
| |
| hasNoIdAttribute | back to summary |
|---|---|
| pack-priv boolean hasNoIdAttribute(Node node) | |
| render | back to summary |
|---|---|
| pack-priv void render(AttributesNode node, NodeFormatterContext context, MarkdownWriter markdown) | |
| renderDocument | back to summary |
|---|---|
public void renderDocument(@NotNull NodeFormatterContext context, @NotNull MarkdownWriter markdown, @NotNull Document document, @NotNull FormattingPhase phase)
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public @NotNull NodeFormatter |
| Factory | back to summary |
|---|---|
| public Factory() | |
| create | back to summary |
|---|---|
| public @NotNull NodeFormatter create(@NotNull DataHolder options) | |