Class HRuleBlockParser
- java.lang.Object
-
- org.apache.maven.doxia.module.twiki.parser.HRuleBlockParser
-
- All Implemented Interfaces:
BlockParser
public class HRuleBlockParser extends java.lang.Object implements BlockParser
Block that represents an horizontal rule- Version:
- $Id: HRuleBlockParser.java 746991 2009-02-23 12:35:46Z vsiveton $
- Author:
- Juan F. Codagnone
-
-
Constructor Summary
Constructors Constructor Description HRuleBlockParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(java.lang.String line)accept.Blockvisit(java.lang.String line, ByLineSource source)visit.
-
-
-
Method Detail
-
accept
public final boolean accept(java.lang.String line)
accept.
- Specified by:
acceptin interfaceBlockParser- Parameters:
line- text line- Returns:
trueif this class can handle this line
-
visit
public final Block visit(java.lang.String line, ByLineSource source) throws ParseException
visit.
- Specified by:
visitin interfaceBlockParser- Parameters:
line- a line of textsource- the source of lines- Returns:
- a block
- Throws:
ParseException- on error
-
-