public class ParagraphParser extends AbstractBlockParser
| Modifier and Type | Class and Description |
|---|---|
static class |
ParagraphParser.Factory |
| Constructor and Description |
|---|
ParagraphParser() |
| Modifier and Type | Method and Description |
|---|---|
void |
addLine(ParserState state,
com.vladsch.flexmark.util.sequence.BasedSequence line)
Add another line to the block
|
void |
closeBlock(ParserState state) |
Paragraph |
getBlock() |
com.vladsch.flexmark.ast.BlockContent |
getBlockContent() |
boolean |
isInterruptible()
Allows block parsers to be interrupted by other block parsers
|
boolean |
isParagraphParser() |
void |
parseInlines(InlineParser inlineParser)
Do inline processing for the block content using the given inline parser interface
|
BlockContinue |
tryContinue(ParserState state)
See if the block parser can continue parsing the current block
|
breakOutOnDoubleBlankLine, canContain, canInterruptBy, finalizeClosedBlock, getDataHolder, isClosed, isContainer, isPropagatingLastBlankLine, isRawTextpublic com.vladsch.flexmark.ast.BlockContent getBlockContent()
getBlockContent in interface BlockParsergetBlockContent in class AbstractBlockParserParagraphParser or one that returns true for BlockParser.isParagraphParser()public Paragraph getBlock()
public BlockContinue tryContinue(ParserState state)
BlockParserstate - current parsing statepublic void addLine(ParserState state, com.vladsch.flexmark.util.sequence.BasedSequence line)
BlockParseraddLine in interface BlockParseraddLine in class AbstractBlockParserstate - parser stateline - line sequencepublic boolean isParagraphParser()
isParagraphParser in interface BlockParserisParagraphParser in class AbstractBlockParserpublic boolean isInterruptible()
BlockParserisInterruptible in interface BlockParserisInterruptible in class AbstractBlockParserpublic void closeBlock(ParserState state)
public void parseInlines(InlineParser inlineParser)
BlockParserparseInlines in interface BlockParserparseInlines in class AbstractBlockParserinlineParser - instance of inline parserCopyright © 2018. All rights reserved.