Package org.commonmark.parser
Interface InlineParserContext
-
- All Known Implementing Classes:
InlineParserContextImpl
public interface InlineParserContextContext for inline parsing.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.util.List<DelimiterProcessor>getCustomDelimiterProcessors()java.util.List<InlineContentParserFactory>getCustomInlineContentParserFactories()java.util.Set<java.lang.Character>getCustomLinkMarkers()java.util.List<LinkProcessor>getCustomLinkProcessors()<D> DgetDefinition(java.lang.Class<D> type, java.lang.String label)Look up a definition of a type for a given label.LinkReferenceDefinitiongetLinkReferenceDefinition(java.lang.String label)Deprecated.
-
-
-
Method Detail
-
getCustomInlineContentParserFactories
java.util.List<InlineContentParserFactory> getCustomInlineContentParserFactories()
- Returns:
- custom inline content parsers that have been configured with
Parser.Builder.customInlineContentParserFactory(InlineContentParserFactory)
-
getCustomDelimiterProcessors
java.util.List<DelimiterProcessor> getCustomDelimiterProcessors()
- Returns:
- custom delimiter processors that have been configured with
Parser.Builder.customDelimiterProcessor(DelimiterProcessor)
-
getCustomLinkProcessors
java.util.List<LinkProcessor> getCustomLinkProcessors()
- Returns:
- custom link processors that have been configured with
Parser.Builder.linkProcessor(org.commonmark.parser.beta.LinkProcessor).
-
getCustomLinkMarkers
java.util.Set<java.lang.Character> getCustomLinkMarkers()
- Returns:
- custom link markers that have been configured with
Parser.Builder.linkMarker(java.lang.Character).
-
getLinkReferenceDefinition
@Deprecated LinkReferenceDefinition getLinkReferenceDefinition(java.lang.String label)
Deprecated.Look 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
<D> D getDefinition(java.lang.Class<D> type, java.lang.String label)Look up a definition of a type for a given label.Note that the passed in label does not need to be normalized; implementations are responsible for doing the normalization before lookup.
- Returns:
- the definition if one exists, null otherwise
-
-