org.apache.maven.doxia.module.twiki.parser
Interface BlockParser
- All Known Implementing Classes:
- GenericListBlockParser, HRuleBlockParser, ParagraphBlockParser, SectionBlockParser, TableBlockParser
- public interface BlockParser
Parse a twiki syntax block
- Since:
- Nov 1, 2005
- Author:
- Juan F. Codagnone
accept
public boolean accept(String line)
- Parameters:
line - text line
- Returns:
true if this class can handle this line
visit
public Block visit(String line,
org.apache.maven.doxia.util.ByLineSource source)
throws org.apache.maven.doxia.parser.ParseException
- Parameters:
line - a line of textsource - the source of lines
- Returns:
- a block
- Throws:
org.apache.maven.doxia.parser.ParseException - on error
Copyright © 2002-2007 The Apache Software Foundation. All Rights Reserved.