public interface IlrDTEnvironment
extends java.io.Serializable
IlrDTEnvironment specifies the API of an object that provides
the DT model with an environment.
This environment is used by the DT functionality to access external resources such as a vocabulary, a variable provider, or a BRL Parser.
An abstract implementation of this interface is provided and should be used as the base class for any implementation of this interface.
IlrDTAbstractEnvironment| Modifier and Type | Method and Description |
|---|---|
IlrBRLParser |
getParser(IlrDTRuleElement dt)
Returns a BRL parser on the BAL grammar for a given DT element.
|
IlrBRLVariableProvider |
getVariableProvider()
Returns the variable provider associated with this environment.
|
IlrVocabulary |
getVocabulary(java.util.Locale locale)
Returns the vocabulary of the environment in which the DT functionality
is used.
|
IlrVocabulary getVocabulary(java.util.Locale locale)
locale - The locale associated with the vocabulary.locale.IlrBRLVariableProvider getVariableProvider()
An example of external variables are the ruleset parameters of the enclosing rule project.
IlrBRLParser getParser(IlrDTRuleElement dt)
dt.dt - The DT element the returned parser will be used for.© Copyright IBM Corp. 1987, 2017