Package com.vladsch.flexmark.parser.core
Class ThematicBreakParser
- java.lang.Object
-
- com.vladsch.flexmark.parser.block.AbstractBlockParser
-
- com.vladsch.flexmark.parser.core.ThematicBreakParser
-
- All Implemented Interfaces:
BlockParser
public class ThematicBreakParser extends AbstractBlockParser
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ThematicBreakParser.Factory
-
Constructor Summary
Constructors Constructor Description ThematicBreakParser(BasedSequence line)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
closeBlock(ParserState state)
Block
getBlock()
BlockContinue
tryContinue(ParserState state)
See if the block parser can continue parsing the current block-
Methods inherited from class com.vladsch.flexmark.parser.block.AbstractBlockParser
addLine, breakOutOnDoubleBlankLine, canContain, canInterruptBy, finalizeClosedBlock, getBlockContent, getDataHolder, isClosed, isContainer, isInterruptible, isParagraphParser, isPropagatingLastBlankLine, isRawText, parseInlines, removeBlankLines
-
-
-
-
Constructor Detail
-
ThematicBreakParser
public ThematicBreakParser(BasedSequence line)
-
-
Method Detail
-
getBlock
public Block getBlock()
- Returns:
- the block parser's block node instance
-
closeBlock
public void closeBlock(ParserState state)
-
tryContinue
public BlockContinue tryContinue(ParserState state)
Description copied from interface:BlockParser
See if the block parser can continue parsing the current block- Parameters:
state
- current parsing state- Returns:
- block continue instance
-
-