public class ParagraphBlockParser extends java.lang.Object implements BlockParser
ParagraphBlockParser class.
| Constructor and Description |
|---|
ParagraphBlockParser(BlockParser[] parsers)
Constructor for ParagraphBlockParser.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(java.lang.String line,
ByLineSource source)
accept.
|
Block |
visit(java.lang.String line,
ByLineSource source)
visit.
|
Block |
visit(java.lang.String line,
ByLineSource source,
boolean generateParagraphTags)
Visit the Block.
|
public ParagraphBlockParser(BlockParser[] parsers)
Constructor for ParagraphBlockParser.
parsers - the parsers.public boolean accept(java.lang.String line,
ByLineSource source)
accept in interface BlockParserline - the line.source - the source.public Block visit(java.lang.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(java.lang.String line, ByLineSource source) throws ParseException
visit in interface BlockParserline - the line.source - the source.ParseException - if any.Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.