|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.doxia.module.twiki.parser.SectionBlockParser
public class SectionBlockParser
Parse looking for sections
Constructor Summary | |
---|---|
SectionBlockParser()
|
Method Summary | |
---|---|
boolean |
accept(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(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 SectionBlockParser()
Method Detail |
---|
public final boolean accept(String line)
accept.
accept
in interface BlockParser
line
- text line
true
if this class can handle this linepublic final Block visit(String line, ByLineSource source) throws ParseException
visit.
visit
in interface BlockParser
line
- a line of textsource
- the source of lines
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |