|
||||||||||
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.GenericListBlockParser
public class GenericListBlockParser
Generic list parser
Constructor Summary | |
---|---|
GenericListBlockParser()
Creates the GenericListBlockParser. |
Method Summary | |
---|---|
boolean |
accept(String line)
accept. |
void |
setTextParser(FormatedTextParser textParser)
Sets the formatTextParser. |
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 GenericListBlockParser()
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 setTextParser(FormatedTextParser textParser)
textParser
- FormatedTextParser
with the formatTextParser.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |