Interface BlockParser

All Known Implementing Classes:
DefinitionListBlockParser, FigureBlockParser, HorizontalRuleBlockParser, ListBlockParser, ParagraphBlockParser, SectionBlockParser, TableBlockParser, VerbatimBlockParser

public interface BlockParser

BlockParser interface.

  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    accept(String line, org.apache.maven.doxia.util.ByLineSource source)
    accept.
    visit(String line, org.apache.maven.doxia.util.ByLineSource source)
    visit.
  • Method Details

    • accept

      boolean accept(String line, org.apache.maven.doxia.util.ByLineSource source)
      accept.
      Parameters:
      line - the line.
      source - the source.
      Returns:
      boolean true if valid.
    • visit

      Block visit(String line, org.apache.maven.doxia.util.ByLineSource source) throws org.apache.maven.doxia.parser.ParseException
      visit.
      Parameters:
      line - the line.
      source - the source.
      Returns:
      boolean true if valid.
      Throws:
      org.apache.maven.doxia.parser.ParseException - if any.