public interface IlrBRLParserService extends IlrBRLParser
IlrBRLParserService specifies the API of a BRL parser service used to parse
BRL input text and to compute predictions.
The BRL parser accessible through this service is configured using:
IlrBRLParserConfigurationDef object to configure the
parser.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.
This interface is replacing IlrBRLParser.
IlrBRLParserManager| Modifier and Type | Method and Description |
|---|---|
IlrVocabulary |
getVocabulary(IlrBRLDefinition definition,
java.util.Locale locale)
Returns the vocabulary associated with the parser for the given language and the given locale.
|
getVocabulary, parseIlrVocabulary getVocabulary(IlrBRLDefinition definition, java.util.Locale locale)
java.lang.IllegalArgumentException - if the parser does not support the given
locale.definition - The BRL language.locale - The locale to check.© Copyright IBM Corp. 1987, 2017