public class GenericListBlockParser extends java.lang.Object implements BlockParser
| Constructor and Description |
|---|
GenericListBlockParser()
Creates the GenericListBlockParser.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(java.lang.String line)
accept.
|
void |
setTextParser(FormatedTextParser textParser)
Sets the formatTextParser.
|
Block |
visit(java.lang.String line,
org.apache.maven.doxia.util.ByLineSource source)
visit.
|
public GenericListBlockParser()
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 setTextParser(FormatedTextParser textParser)
textParser - FormatedTextParser with the formatTextParser.