|
||||||||||
| 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
public class ParagraphBlockParser
Parse paragraphs.
| Constructor Summary | |
|---|---|
ParagraphBlockParser()
|
|
| Method Summary | |
|---|---|
boolean |
accept(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(String line,
ByLineSource source)
visit. |
| 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.
accept in interface BlockParserline - text line
true if this class can handle this line
public final Block visit(String line,
ByLineSource source)
throws ParseException
visit.
visit in interface BlockParserline - a line of textsource - the source of lines
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||