Class SectionBlockParser

java.lang.Object
org.apache.maven.doxia.module.confluence.parser.SectionBlockParser
All Implemented Interfaces:
BlockParser

public class SectionBlockParser extends Object implements BlockParser

SectionBlockParser class.

Author:
Jason van Zyl
  • Constructor Details

    • SectionBlockParser

      public SectionBlockParser()
  • Method Details

    • accept

      public boolean accept(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(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.