Interface ParserConfigurator


public interface ParserConfigurator
Interface which allows to configure a particular Parser before it is being used.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    configure(String parserId, Path filePath, org.apache.maven.doxia.parser.Parser parser)
    Configures the given parser which is afterwards used to parse the source file with the given path.
  • Method Details

    • configure

      boolean configure(String parserId, Path filePath, org.apache.maven.doxia.parser.Parser parser)
      Configures the given parser which is afterwards used to parse the source file with the given path.
      Parameters:
      parserId - the parser id
      filePath - the absolute path of the file to parse
      parser - the parser to configure
      Returns:
      true if the parser has been configured, otherwise false