Class VerbatimBlockParser
java.lang.Object
org.apache.maven.doxia.module.twiki.parser.VerbatimBlockParser
- All Implemented Interfaces:
BlockParser
Parse verbatim blocks
- Since:
- 1.1
-
Field Details
-
VERBATIM_START_PATTERN
pattern to detect verbatim start tags -
VERBATIM_END_PATTERN
-
-
Constructor Details
-
VerbatimBlockParser
public VerbatimBlockParser()
-
-
Method Details
-
accept
accept.
- Specified by:
accept
in interfaceBlockParser
- Parameters:
line
- text line- Returns:
true
if this class can handle this line
-
visit
visit.
- Specified by:
visit
in interfaceBlockParser
- Parameters:
line
- a line of textsource
- the source of lines- Returns:
- a block
- Throws:
ParseException
- on error
-