Interface InlineParserContext
- All Known Implementing Classes:
InlineParserContextImpl
public interface InlineParserContext
Context for inline parsing.
-
Method Summary
Modifier and TypeMethodDescription<D> DgetDefinition(Class<D> type, String label) Look up a definition of a type for a given label.getLinkReferenceDefinition(String label) Deprecated.
-
Method Details
-
getCustomInlineContentParserFactories
List<InlineContentParserFactory> getCustomInlineContentParserFactories()- Returns:
- custom inline content parsers that have been configured with
Parser.Builder.customInlineContentParserFactory(InlineContentParserFactory)
-
getCustomDelimiterProcessors
List<DelimiterProcessor> getCustomDelimiterProcessors()- Returns:
- custom delimiter processors that have been configured with
Parser.Builder.customDelimiterProcessor(DelimiterProcessor)
-
getCustomLinkProcessors
List<LinkProcessor> getCustomLinkProcessors()- Returns:
- custom link processors that have been configured with
Parser.Builder.linkProcessor(LinkProcessor).
-
getCustomLinkMarkers
- Returns:
- custom link markers that have been configured with
Parser.Builder.linkMarker(Character).
-
getLinkReferenceDefinition
Deprecated.usegetDefinition(Class, String)withLinkReferenceDefinitioninsteadLook up aLinkReferenceDefinitionfor a given label.Note that the passed in label does not need to be normalized; implementations are responsible for doing the normalization before lookup.
- Parameters:
label- the link label to look up- Returns:
- the definition if one exists,
nullotherwise
-
getDefinition
-
getDefinition(Class, String)withLinkReferenceDefinitioninstead