Top Description Methods
jdk.internal.org.commonmark.parser

public Interface InlineParserContext

Known Direct Implementers
jdk.internal.org.commonmark.internal.InlineParserContextImpl
Imports
jdk.internal.org.commonmark.node.LinkReferenceDefinition, jdk.internal.org.commonmark.parser.delimiter.DelimiterProcessor, java.util.List

Context for inline parsing.

Method Summary

Modifier and TypeMethod and Description
public List<DelimiterProcessor>

Returns:

custom delimiter processors that have been configured with Parser.Builder#customDelimiterProcessor(DelimiterProcessor)
getCustomDelimiterProcessors
()

public LinkReferenceDefinition

Returns:

the definition if one exists, null otherwise
getLinkReferenceDefinition
(String
the link label to look up
label
)

Look up a LinkReferenceDefinition for a given label.

Method Detail

getCustomDelimiterProcessorsback to summary
public List<DelimiterProcessor> getCustomDelimiterProcessors()
Returns:List<DelimiterProcessor>

custom delimiter processors that have been configured with Parser.Builder#customDelimiterProcessor(DelimiterProcessor)

getLinkReferenceDefinitionback to summary
public LinkReferenceDefinition getLinkReferenceDefinition(String label)

Look up a LinkReferenceDefinition for a given label.

Note that the label is not normalized yet; implementations are responsible for normalizing before lookup.

Parameters
label:String

the link label to look up

Returns:LinkReferenceDefinition

the definition if one exists, null otherwise