Package org.commonmark.internal
Class DocumentParser.MatchedBlockParserImpl
java.lang.Object
org.commonmark.internal.DocumentParser.MatchedBlockParserImpl
- All Implemented Interfaces:
MatchedBlockParser
- Enclosing class:
DocumentParser
private static class DocumentParser.MatchedBlockParserImpl
extends Object
implements MatchedBlockParser
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the current paragraph lines if the matched block is a paragraph.
-
Field Details
-
matchedBlockParser
-
-
Constructor Details
-
MatchedBlockParserImpl
-
-
Method Details
-
getMatchedBlockParser
- Specified by:
getMatchedBlockParser
in interfaceMatchedBlockParser
-
getParagraphLines
Description copied from interface:MatchedBlockParser
Returns the current paragraph lines if the matched block is a paragraph.- Specified by:
getParagraphLines
in interfaceMatchedBlockParser
- Returns:
- paragraph content or an empty list
-