public class ParagraphBlockParser extends Object implements BlockParser
ParagraphBlockParser class.
| Constructor and Description |
|---|
ParagraphBlockParser(BlockParser[] parsers)
Constructor for ParagraphBlockParser.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(String line,
ByLineSource source)
accept.
|
Block |
visit(String line,
ByLineSource source)
visit.
|
Block |
visit(String line,
ByLineSource source,
boolean generateParagraphTags)
Visit the Block.
|
public ParagraphBlockParser(BlockParser[] parsers)
Constructor for ParagraphBlockParser.
parsers - the parsers.public boolean accept(String line, ByLineSource source)
accept in interface BlockParserline - the line.source - the source.public Block visit(String line, ByLineSource source, boolean generateParagraphTags) throws ParseException
line - the line to visit.source - the source.generateParagraphTags - whether to generate a paragraph.ParseException - if anypublic Block visit(String line, ByLineSource source) throws ParseException
visit in interface BlockParserline - the line.source - the source.ParseException - if any.Copyright © 2005–2016 The Apache Software Foundation. All rights reserved.