Interface ParserConfigurator


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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean configure​(java.lang.String parserId, java.nio.file.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 Detail

      • configure

        boolean configure​(java.lang.String parserId,
                          java.nio.file.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