ilog.rules.brl

Interface IlrBRLVocabularyManager

  • All Superinterfaces:
    IlrVocabularyManager


    public interface IlrBRLVocabularyManager
    extends IlrVocabularyManager
    This interfaces extends IlrVocabularyManager interface to provide an API to retrieve a vocabulary according to a language definition and a language. Implementation of this class should be used instead of IlrVocabularyManager when business language are used, as the vocabulary managed by implementation of this interface should consider language-specific vocabulary, by combining a user vocabulary with a language-specific "boot" vocabulary.
    Since:
    7.5
    • Method Detail

      • getVocabulary

        IlrVocabulary getVocabulary(IlrBRLDefinition definition,
                                  java.util.Locale locale)
        This method returns a vocabulary of the given locale. This vocabulary is supposed to be used by a parser for the given language. Implementation of this interface should return a the vocabulary handled by this manager, combined with a "boot" vocabulary, which may come from the language definition (see IlrBRLDefinition.getLanguageVocabulary()). Note that the vocabulary returned by this API is not supposed to be changed. If the implementor of this interface changes the vocabulary, a Change Event must be sent to the listeners that requested notification.
        Parameters:
        definition - the language definition
        locale - the locale
        Returns:
        a vocabulary set combining the vocabulary managed by this manager and a "boot" vocabulary that can be language-specific. This method cannot return null.

© Copyright IBM Corp. 1987, 2017