Interface BlockParser

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean accept​(java.lang.String line)
      accept.
      Block visit​(java.lang.String line, org.apache.maven.doxia.util.ByLineSource source)
      visit.
    • Method Detail

      • accept

        boolean accept​(java.lang.String line)

        accept.

        Parameters:
        line - text line
        Returns:
        true if this class can handle this line
      • visit

        Block visit​(java.lang.String line,
                    org.apache.maven.doxia.util.ByLineSource source)
             throws org.apache.maven.doxia.parser.ParseException

        visit.

        Parameters:
        line - a line of text
        source - the source of lines
        Returns:
        a block
        Throws:
        org.apache.maven.doxia.parser.ParseException - on error