|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.maven.doxia.module.twiki.parser.ParagraphBlockParser
Parse paragraphs.
| Constructor Summary | |
ParagraphBlockParser()
|
|
| Method Summary | |
boolean |
accept(String line)
|
void |
setHrulerParser(HRuleBlockParser hrulerParser)
Sets the hrulerParser. |
void |
setListParser(GenericListBlockParser listParser)
Sets the listParser. |
void |
setSectionParser(SectionBlockParser sectionParser)
Sets the sectionParser. |
void |
setTableBlockParser(TableBlockParser tableBlockParser)
|
void |
setTextParser(FormatedTextParser textParser)
Sets the formatTextParser. |
Block |
visit(String line,
ByLineSource source)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ParagraphBlockParser()
| Method Detail |
public final boolean accept(String line)
accept in interface BlockParserline - text line
true if this class can handle this lineBlockParser.accept(String)
public final Block visit(String line,
ByLineSource source)
throws ParseException
visit in interface BlockParserline - a line of textsource - the source of lines
ParseException - on errorBlockParser.visit(String, ByLineSource)public final void setSectionParser(SectionBlockParser sectionParser)
sectionParser - SectionBlockParser with the sectionParser.public final void setListParser(GenericListBlockParser listParser)
listParser - ListBlockParser with the listParser.public final void setTextParser(FormatedTextParser textParser)
textParser - FormatedTextParser
with the formatTextParser.public final void setHrulerParser(HRuleBlockParser hrulerParser)
hrulerParser - HRuleBlockParser with the hrulerParser.public final void setTableBlockParser(TableBlockParser tableBlockParser)
tableBlockParser - Table parser to use
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||