Top Description Methods
com.vladsch.flexmark.parser.block

public Interface MatchedBlockParser

Known Direct Implementers
com.vladsch.flexmark.parser.internal.MatchedBlockParserImpl
Imports
com.vladsch.flexmark.util.data.MutableDataHolder, com.vladsch.flexmark.util.sequence.BasedSequence, java.util.List

Open block parser that was last matched during the continue phase. This is different from the currently active block parser, as an unmatched block is only closed when a new block is started.

This interface is not intended to be implemented by clients.

Method Summary

Modifier and TypeMethod and Description
public BlockParser

Returns:

current matched block parser instance
getBlockParser
()

public BasedSequence

Returns:

paragraph content or null
getParagraphContent
()

Returns the current content of the paragraph if the matched block is a paragraph.

public MutableDataHolder
public List<Integer>
public List<BasedSequence>

Method Detail

getBlockParserback to summary
public BlockParser getBlockParser()
Returns:BlockParser

current matched block parser instance

getParagraphContentback to summary
public BasedSequence getParagraphContent()

Returns the current content of the paragraph if the matched block is a paragraph. The content can be multiple lines separated by '\n'.

Returns:BasedSequence

paragraph content or null

getParagraphDataHolderback to summary
public MutableDataHolder getParagraphDataHolder()
getParagraphEolLengthsback to summary
public List<Integer> getParagraphEolLengths()
getParagraphLinesback to summary
public List<BasedSequence> getParagraphLines()