public class HtmlConverterCoreNodeRenderer extends Object implements PhasedHtmlNodeRenderer
| Modifier and Type | Field and Description |
|---|---|
static Pattern |
ALPHA_NUMERAL_PAT |
static Pattern |
BULLET_LIST_PAT |
static String |
EMOJI_ALT_PREFIX |
static HashSet<String> |
explicitLinkTextTags |
static Pattern |
NON_NUMERIC_DOT_LIST_PAT |
static Pattern |
NON_NUMERIC_PAREN_LIST_PAT |
static Pattern |
NUMERIC_DOT_LIST_PAT |
static Pattern |
NUMERIC_PAREN_LIST_PAT |
| Constructor and Description |
|---|
HtmlConverterCoreNodeRenderer(com.vladsch.flexmark.util.data.DataHolder options) |
| Modifier and Type | Method and Description |
|---|---|
Set<HtmlConverterPhase> |
getHtmlConverterPhases() |
Set<HtmlNodeRendererHandler<?>> |
getHtmlNodeRendererHandlers() |
static int |
getMaxRepeatedChars(CharSequence text,
char c,
int minCount) |
static boolean |
hasChildrenOfType(org.jsoup.nodes.Element element,
Set<String> nodeNames) |
static boolean |
isFirstChild(org.jsoup.nodes.Element element) |
static boolean |
isLastChild(org.jsoup.nodes.Element element) |
void |
renderDocument(HtmlNodeConverterContext context,
com.vladsch.flexmark.util.sequence.LineAppendable out,
org.jsoup.nodes.Document document,
HtmlConverterPhase phase)
Render the specified node.
|
public static final String EMOJI_ALT_PREFIX
public static final Pattern NUMERIC_DOT_LIST_PAT
public static final Pattern NUMERIC_PAREN_LIST_PAT
public static final Pattern NON_NUMERIC_DOT_LIST_PAT
public static final Pattern NON_NUMERIC_PAREN_LIST_PAT
public static final Pattern BULLET_LIST_PAT
public static final Pattern ALPHA_NUMERAL_PAT
public HtmlConverterCoreNodeRenderer(com.vladsch.flexmark.util.data.DataHolder options)
public Set<HtmlConverterPhase> getHtmlConverterPhases()
getHtmlConverterPhases in interface PhasedHtmlNodeRendererpublic Set<HtmlNodeRendererHandler<?>> getHtmlNodeRendererHandlers()
getHtmlNodeRendererHandlers in interface HtmlNodeRendererpublic void renderDocument(HtmlNodeConverterContext context, com.vladsch.flexmark.util.sequence.LineAppendable out, org.jsoup.nodes.Document document, HtmlConverterPhase phase)
PhasedHtmlNodeRendererrenderDocument in interface PhasedHtmlNodeRenderercontext - node renderer context instanceout - markdown writer instancedocument - the document node to renderphase - rendering phase for which to generate the output. Will be any of HtmlConverterPhase except HtmlConverterPhase.DOCUMENT because this phase is used for the non-phased node renderingpublic static int getMaxRepeatedChars(CharSequence text, char c, int minCount)
public static boolean hasChildrenOfType(org.jsoup.nodes.Element element,
Set<String> nodeNames)
public static boolean isFirstChild(org.jsoup.nodes.Element element)
public static boolean isLastChild(org.jsoup.nodes.Element element)
Copyright © 2020. All rights reserved.