org.apache.maven.doxia.module.confluence.parser.table
Class TableBlockParser

java.lang.Object
  extended by org.apache.maven.doxia.module.confluence.parser.table.TableBlockParser
All Implemented Interfaces:
BlockParser

public class TableBlockParser
extends Object
implements BlockParser

Parse tables

Version:
$Id: TableBlockParser.java 1090706 2011-04-09 23:15:28Z hboutemy $
Author:
Juan F. Codagnone

Constructor Summary
TableBlockParser()
           
 
Method Summary
 boolean accept(String line, ByLineSource source)
          accept.
 Block visit(String line, ByLineSource source)
          visit.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableBlockParser

public TableBlockParser()
Method Detail

accept

public boolean accept(String line,
                      ByLineSource source)
accept.

Specified by:
accept in interface BlockParser
Parameters:
line - the line.
source - the source.
Returns:
boolean true if valid.

visit

public Block visit(String line,
                   ByLineSource source)
            throws ParseException
visit.

Specified by:
visit in interface BlockParser
Parameters:
line - the line.
source - the source.
Returns:
boolean true if valid.
Throws:
ParseException - if any.


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.