public class AttributesNodeFormatter extends Object implements com.vladsch.flexmark.formatter.PhasedNodeFormatter, com.vladsch.flexmark.formatter.ExplicitAttributeIdProvider
| Modifier and Type | Class and Description |
|---|---|
static class |
AttributesNodeFormatter.Factory |
| Modifier and Type | Field and Description |
|---|---|
static com.vladsch.flexmark.util.data.DataKey<Map<String,String>> |
ATTRIBUTE_ORIGINAL_ID_MAP |
static com.vladsch.flexmark.util.data.DataKey<Map<String,String>> |
ATTRIBUTE_TRANSLATED_MAP |
static com.vladsch.flexmark.util.data.DataKey<Integer> |
ATTRIBUTE_TRANSLATION_ID |
static com.vladsch.flexmark.util.data.DataKey<Map<String,String>> |
ATTRIBUTE_TRANSLATION_MAP |
static com.vladsch.flexmark.util.data.DataKey<Map<String,String>> |
ATTRIBUTE_UNIQUIFICATION_CATEGORY_MAP |
static com.vladsch.flexmark.util.data.DataKey<Map<String,String>> |
ATTRIBUTE_UNIQUIFICATION_ID_MAP |
static com.vladsch.flexmark.util.data.DataKey<Set<com.vladsch.flexmark.util.ast.Node>> |
PROCESSED_ATTRIBUTES |
| Constructor and Description |
|---|
AttributesNodeFormatter(com.vladsch.flexmark.util.data.DataHolder options) |
| Modifier and Type | Method and Description |
|---|---|
void |
addExplicitId(@NotNull com.vladsch.flexmark.util.ast.Node node,
@Nullable String id,
@NotNull com.vladsch.flexmark.formatter.NodeFormatterContext context,
@NotNull com.vladsch.flexmark.formatter.MarkdownWriter markdown) |
static String |
getEncodedIdAttribute(String category,
String categoryId,
com.vladsch.flexmark.formatter.NodeFormatterContext context,
com.vladsch.flexmark.formatter.MarkdownWriter markdown) |
@Nullable Set<com.vladsch.flexmark.formatter.FormattingPhase> |
getFormattingPhases() |
@Nullable Set<Class<?>> |
getNodeClasses() |
@Nullable Set<com.vladsch.flexmark.formatter.NodeFormattingHandler<?>> |
getNodeFormattingHandlers() |
void |
renderDocument(@NotNull com.vladsch.flexmark.formatter.NodeFormatterContext context,
@NotNull com.vladsch.flexmark.formatter.MarkdownWriter markdown,
@NotNull com.vladsch.flexmark.util.ast.Document document,
@NotNull com.vladsch.flexmark.formatter.FormattingPhase phase) |
public static final com.vladsch.flexmark.util.data.DataKey<Map<String,String>> ATTRIBUTE_TRANSLATION_MAP
public static final com.vladsch.flexmark.util.data.DataKey<Map<String,String>> ATTRIBUTE_TRANSLATED_MAP
public static final com.vladsch.flexmark.util.data.DataKey<Map<String,String>> ATTRIBUTE_ORIGINAL_ID_MAP
public static final com.vladsch.flexmark.util.data.DataKey<Set<com.vladsch.flexmark.util.ast.Node>> PROCESSED_ATTRIBUTES
public static final com.vladsch.flexmark.util.data.DataKey<Map<String,String>> ATTRIBUTE_UNIQUIFICATION_ID_MAP
public static final com.vladsch.flexmark.util.data.DataKey<Map<String,String>> ATTRIBUTE_UNIQUIFICATION_CATEGORY_MAP
public static final com.vladsch.flexmark.util.data.DataKey<Integer> ATTRIBUTE_TRANSLATION_ID
public AttributesNodeFormatter(com.vladsch.flexmark.util.data.DataHolder options)
@Nullable public @Nullable Set<Class<?>> getNodeClasses()
getNodeClasses in interface com.vladsch.flexmark.formatter.NodeFormatter@Nullable public @Nullable Set<com.vladsch.flexmark.formatter.FormattingPhase> getFormattingPhases()
getFormattingPhases in interface com.vladsch.flexmark.formatter.PhasedNodeFormatterpublic void addExplicitId(@NotNull
@NotNull com.vladsch.flexmark.util.ast.Node node,
@Nullable
@Nullable String id,
@NotNull
@NotNull com.vladsch.flexmark.formatter.NodeFormatterContext context,
@NotNull
@NotNull com.vladsch.flexmark.formatter.MarkdownWriter markdown)
addExplicitId in interface com.vladsch.flexmark.formatter.ExplicitAttributeIdProviderpublic void renderDocument(@NotNull
@NotNull com.vladsch.flexmark.formatter.NodeFormatterContext context,
@NotNull
@NotNull com.vladsch.flexmark.formatter.MarkdownWriter markdown,
@NotNull
@NotNull com.vladsch.flexmark.util.ast.Document document,
@NotNull
@NotNull com.vladsch.flexmark.formatter.FormattingPhase phase)
renderDocument in interface com.vladsch.flexmark.formatter.PhasedNodeFormatter@Nullable public @Nullable Set<com.vladsch.flexmark.formatter.NodeFormattingHandler<?>> getNodeFormattingHandlers()
getNodeFormattingHandlers in interface com.vladsch.flexmark.formatter.NodeFormatterCopyright © 2020. All rights reserved.