BlockParserpublic class ParagraphBlockParser extends java.lang.Object implements BlockParser
| Constructor | Description |
|---|---|
ParagraphBlockParser() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
accept(java.lang.String line) |
accept.
|
void |
setHrulerParser(HRuleBlockParser aHrulerParser) |
Sets the hrulerParser.
|
void |
setListParser(GenericListBlockParser aListParser) |
Sets the listParser.
|
void |
setSectionParser(SectionBlockParser aSectionParser) |
Sets the sectionParser.
|
void |
setTableBlockParser(TableBlockParser aTableBlockParser) |
Setter for the field
tableBlockParser. |
void |
setTextParser(FormatedTextParser aTextParser) |
Sets the formatTextParser.
|
void |
setVerbatimParser(VerbatimBlockParser aVerbatimParser) |
Sets the verbatimParser.
|
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 setSectionParser(SectionBlockParser aSectionParser)
aSectionParser - SectionBlockParser with the sectionParser.public final void setListParser(GenericListBlockParser aListParser)
aListParser - ListBlockParser with the listParser.public final void setTextParser(FormatedTextParser aTextParser)
aTextParser - FormatedTextParser
with the formatTextParser.public final void setHrulerParser(HRuleBlockParser aHrulerParser)
aHrulerParser - HRuleBlockParser with the hrulerParser.public final void setTableBlockParser(TableBlockParser aTableBlockParser)
Setter for the field tableBlockParser.
aTableBlockParser - Table parser to usepublic final void setVerbatimParser(VerbatimBlockParser aVerbatimParser)
aVerbatimParser - VerbatimBlockParser with the verbatimParser.