ilog.rules.brl.parsing

Interface IlrBRLParser

  • All Known Subinterfaces:
    IlrBRLParserService
    All Known Implementing Classes:
    IlrBRLParserManager, IlrBRLService


    public interface IlrBRLParser
    IlrBRLParser specifies the API of a BRL parser used to parse BRL input text and to compute predictions. The BRL parser is configured using:
    • An IlrBRLParserConfigurationDef object to configure the parser.
    • An optional IlrBRLPredictionConfigurationDef object to configure the prediction.

    A text input implementing IlrBRLParserInput is passed to this parser and interpreted. A syntax tree is created and a list of errors is reported to the parser configuration.

    This interface is not supposed to be implemented outside the BRL framework. The IlrBRLParserManager implementation of this interface can be used outside any environment.

    Although this class is not deprecated, you should use IlrBRLParserService interface instead.

    Since:
    JRules 7.0
    See Also:
    IlrBRLParserManager
    • Method Detail

      • getVocabulary

        IlrVocabulary getVocabulary(java.util.Locale locale)
        Deprecated. this method is deprecated and replaced by IlrBRLParserService.getVocabulary(definition, locale).
        Returns the vocabulary associated with this parser for a given locale.
        Throws:
        java.lang.IllegalArgumentException - if the parser does not support locale.
        Parameters:
        locale - The locale to check.
        Returns:
        The vocabulary associated to this parser for locale.

© Copyright IBM Corp. 1987, 2017