BlockParserpublic class ParagraphBlockParser extends java.lang.Object implements BlockParser
ParagraphBlockParser class.
| Constructor | Description |
|---|---|
ParagraphBlockParser(BlockParser[] parsers) |
Constructor for ParagraphBlockParser.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
accept(java.lang.String line,
org.apache.maven.doxia.util.ByLineSource source) |
accept.
|
Block |
visit(java.lang.String line,
org.apache.maven.doxia.util.ByLineSource source) |
visit.
|
Block |
visit(java.lang.String line,
org.apache.maven.doxia.util.ByLineSource source,
boolean generateParagraphTags) |
Visit the Block.
|
public ParagraphBlockParser(BlockParser[] parsers)
Constructor for ParagraphBlockParser.
parsers - the parsers.public boolean accept(java.lang.String line,
org.apache.maven.doxia.util.ByLineSource source)
accept in interface BlockParserline - the line.source - the source.public Block visit(java.lang.String line, org.apache.maven.doxia.util.ByLineSource source, boolean generateParagraphTags) throws org.apache.maven.doxia.parser.ParseException
line - the line to visit.source - the source.generateParagraphTags - whether to generate a paragraph.org.apache.maven.doxia.parser.ParseException - if anypublic Block visit(java.lang.String line, org.apache.maven.doxia.util.ByLineSource source) throws org.apache.maven.doxia.parser.ParseException
visit in interface BlockParserline - the line.source - the source.org.apache.maven.doxia.parser.ParseException - if any.