public class SectionBlockParser extends java.lang.Object implements BlockParser
| Constructor and Description |
|---|
SectionBlockParser() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(java.lang.String line)
accept.
|
void |
setHrulerParser(HRuleBlockParser hrulerParser)
Sets the hrulerParser.
|
void |
setParaParser(ParagraphBlockParser paraParser)
Sets the paraParser.
|
void |
setVerbatimBlockParser(VerbatimBlockParser verbatimBlockParser)
Sets the verbatimBlockParser.
|
Block |
visit(java.lang.String line,
org.apache.maven.doxia.util.ByLineSource source)
visit.
|
public final boolean accept(java.lang.String line)
accept.
accept in interface BlockParserline - text linetrue if this class can handle this linepublic final Block visit(java.lang.String line, org.apache.maven.doxia.util.ByLineSource source) throws org.apache.maven.doxia.parser.ParseException
visit.
visit in interface BlockParserline - a line of textsource - the source of linesorg.apache.maven.doxia.parser.ParseException - on errorpublic final void setParaParser(ParagraphBlockParser paraParser)
paraParser - ParagraphBlockParser with the paraParser.public final void setHrulerParser(HRuleBlockParser hrulerParser)
hrulerParser - HRuleBlockParser with the hrulerParser.public final void setVerbatimBlockParser(VerbatimBlockParser verbatimBlockParser)
verbatimBlockParser - VerbatimBlockParser with the verbatimBlockParser.