org.apache.maven.doxia.module.twiki.parser
Class TableBlockParser
java.lang.Object
org.apache.maven.doxia.module.twiki.parser.TableBlockParser
- All Implemented Interfaces:
- BlockParser
public class TableBlockParser
- extends Object
- implements BlockParser
Parse tables
- Since:
- Nov 9, 2005
- Author:
- Juan F. Codagnone
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TableBlockParser
public TableBlockParser()
accept
public final boolean accept(String line)
- Specified by:
accept
in interface BlockParser
- Parameters:
line
- text line
- Returns:
true
if this class can handle this line- See Also:
BlockParser.accept(String)
visit
public final Block visit(String line,
ByLineSource source)
throws ParseException
- Specified by:
visit
in interface BlockParser
- Parameters:
line
- a line of textsource
- the source of lines
- Returns:
- a block
- Throws:
ParseException
- on error- See Also:
BlockParser.visit(String, ByLineSource)
setTextParser
public final void setTextParser(FormatedTextParser textParser)
- Parameters:
textParser
- text parser to be set
Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.