public abstract class IlrDTAbstractEnvironment extends java.lang.Object implements IlrDTEnvironment
IlrDTAbstractEnvironment is an abstract partial implementation
of the IlrDTEnvironment interface.
An IlrDTAbstractEnvironment instance manages internally a
parser manager that provides parsing services.
Use this class as a base class to implement a DT environment.
| Constructor and Description |
|---|
IlrDTAbstractEnvironment()
Deprecated.
use the constructor that takes a Vocabulary Manager
|
IlrDTAbstractEnvironment(IlrVocabularyManager vocabularyManager)
Creates a new
IlrDTAbstractEnvironment instance. |
| Modifier and Type | Method and Description |
|---|---|
IlrBRLParser |
getParser(IlrDTRuleElement dt)
Returns a BRL parser on the BAL grammar for a given DT element.
|
IlrVocabulary |
getVocabulary(java.util.Locale locale)
Returns the vocabulary of the environment in which the DT functionality
is used.
|
void |
setParserManager(IlrBRLParserManager mgr)
Deprecated.
use setBRLParserManager()
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetVariableProviderpublic IlrDTAbstractEnvironment()
public IlrDTAbstractEnvironment(IlrVocabularyManager vocabularyManager)
IlrDTAbstractEnvironment instance.vocabularyManager - A vocabulary manager that gives access to a
vocabulary.public void setParserManager(IlrBRLParserManager mgr)
public IlrBRLParser getParser(IlrDTRuleElement dt)
IlrDTEnvironmentdt.getParser in interface IlrDTEnvironmentdt - The DT element the returned parser will be used for.public IlrVocabulary getVocabulary(java.util.Locale locale)
IlrDTEnvironmentgetVocabulary in interface IlrDTEnvironmentlocale - The locale associated with the vocabulary.locale.© Copyright IBM Corp. 1987, 2017