Class HRuleBlockParser
java.lang.Object
org.apache.maven.doxia.module.twiki.parser.HRuleBlockParser
- All Implemented Interfaces:
BlockParser
Block that represents an horizontal rule
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Patternpattern used to detect horizontal rulers -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
HRULE_PATTERN
pattern used to detect horizontal rulers
-
-
Constructor Details
-
HRuleBlockParser
public HRuleBlockParser()
-
-
Method Details
-
accept
accept.
- Specified by:
acceptin interfaceBlockParser- Parameters:
line- text line- Returns:
trueif this class can handle this line
-
visit
visit.
- Specified by:
visitin interfaceBlockParser- Parameters:
line- a line of textsource- the source of lines- Returns:
- a block
- Throws:
ParseException- on error
-