Top Fields Constructors Methods
com.vladsch.flexmark.parser.internal

public Class MatchedBlockParserImpl

extends Object
implements MatchedBlockParser
Class Inheritance
All Implemented Interfaces
com.vladsch.flexmark.parser.block.MatchedBlockParser
Imports
com.vladsch.flexmark.parser.block.BlockParser, .MatchedBlockParser, com.vladsch.flexmark.util.data.MutableDataHolder, com.vladsch.flexmark.util.sequence.BasedSequence, java.util.List

Field Summary

Modifier and TypeField and Description
private final BlockParser

Constructor Summary

AccessConstructor and Description
public
MatchedBlockParserImpl(BlockParser matchedBlockParser)

Method Summary

Modifier and TypeMethod and Description
public BlockParser
public BasedSequence
getParagraphContent()

Implements com.vladsch.flexmark.parser.block.MatchedBlockParser.getParagraphContent.

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

public MutableDataHolder
public List<Integer>
public List<BasedSequence>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

matchedBlockParserback to summary
private final BlockParser matchedBlockParser

Constructor Detail

MatchedBlockParserImplback to summary
public MatchedBlockParserImpl(BlockParser matchedBlockParser)

Method Detail

getBlockParserback to summary
public BlockParser getBlockParser()

Implements com.vladsch.flexmark.parser.block.MatchedBlockParser.getBlockParser.

Returns:BlockParser

Doc from com.vladsch.flexmark.parser.block.MatchedBlockParser.getBlockParser.

current matched block parser instance

Annotations
@Override
getParagraphContentback to summary
public BasedSequence getParagraphContent()

Implements com.vladsch.flexmark.parser.block.MatchedBlockParser.getParagraphContent.

Doc from com.vladsch.flexmark.parser.block.MatchedBlockParser.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

Annotations
@Override
getParagraphDataHolderback to summary
public MutableDataHolder getParagraphDataHolder()

Implements com.vladsch.flexmark.parser.block.MatchedBlockParser.getParagraphDataHolder.

Annotations
@Override
getParagraphEolLengthsback to summary
public List<Integer> getParagraphEolLengths()

Implements com.vladsch.flexmark.parser.block.MatchedBlockParser.getParagraphEolLengths.

getParagraphLinesback to summary
public List<BasedSequence> getParagraphLines()

Implements com.vladsch.flexmark.parser.block.MatchedBlockParser.getParagraphLines.

Annotations
@Override