Class TableBlockParser

  • All Implemented Interfaces:
    BlockParser

    public class TableBlockParser
    extends java.lang.Object
    implements BlockParser
    Parse tables
    Author:
    Juan F. Codagnone
    • Constructor Summary

      Constructors 
      Constructor Description
      TableBlockParser()
      Default constructor TableBlockParser.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean accept​(java.lang.String line, org.apache.maven.doxia.util.ByLineSource source)
      accept.
      Block visit​(java.lang.String line, org.apache.maven.doxia.util.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()
        Default constructor TableBlockParser.
    • Method Detail

      • accept

        public boolean accept​(java.lang.String line,
                              org.apache.maven.doxia.util.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​(java.lang.String line,
                           org.apache.maven.doxia.util.ByLineSource source)
                    throws org.apache.maven.doxia.parser.ParseException
        visit.
        Specified by:
        visit in interface BlockParser
        Parameters:
        line - the line.
        source - the source.
        Returns:
        boolean true if valid.
        Throws:
        org.apache.maven.doxia.parser.ParseException - if any.