Class SectionBlockParser

  • All Implemented Interfaces:
    BlockParser

    public class SectionBlockParser
    extends java.lang.Object
    implements BlockParser
    Parse looking for sections
    Version:
    $Id: SectionBlockParser.java 1090706 2011-04-09 23:15:28Z hboutemy $
    Author:
    Juan F. Codagnone
    • Constructor Detail

      • SectionBlockParser

        public SectionBlockParser()
    • Method Detail

      • accept

        public final boolean accept​(java.lang.String line)

        accept.

        Specified by:
        accept in interface BlockParser
        Parameters:
        line - text line
        Returns:
        true if this class can handle this line
      • setParaParser

        public final void setParaParser​(ParagraphBlockParser paraParser)
        Sets the paraParser.
        Parameters:
        paraParser - ParagraphBlockParser with the paraParser.
      • setHrulerParser

        public final void setHrulerParser​(HRuleBlockParser hrulerParser)
        Sets the hrulerParser.
        Parameters:
        hrulerParser - HRuleBlockParser with the hrulerParser.
      • setVerbatimBlockParser

        public final void setVerbatimBlockParser​(VerbatimBlockParser verbatimBlockParser)
        Sets the verbatimBlockParser.
        Parameters:
        verbatimBlockParser - VerbatimBlockParser with the verbatimBlockParser.
        Since:
        1.1