public final class IlrBOMVocabularyFactory
extends java.lang.Object
IlrBOMVocabularyFactory to create instances of
IlrBOMVocabulary.
The following code example shows how to create a vocabulary from a
business object model using an IlrBOMVocabularyFactory.
protected IlrBOMVocabulary createVocabulary(IlrObjectModel bom, Locale locale) {
IlrBOMVocabulary vocabulary = IlrBOMVocabularyFactory.createBOMVocabulary(locale, bom);
return vocabulary;
}
| Modifier and Type | Method and Description |
|---|---|
static IlrBOMVocabulary |
createBOMVocabulary(IlrObjectModel bom)
Creates a BOM vocabulary from an
IlrObjectModel instance. |
static IlrBOMVocabulary |
createBOMVocabulary(java.util.Locale locale,
IlrObjectModel bom)
Creates a BOM vocabulary from an
IlrObjectModel instance, for the
specified locale. |
static IlrBOMVocabularySet |
createBOMVocabularySet(java.util.Locale locale,
IlrBOMVocabulary[] vocPath,
boolean includeBootVoc)
Creates a BOM vocabulary set, initialized using the specified
locale,
an array of vocabularies, and the system BOM vocabulary
if the flag includeBootVoc is set to true. |
static IlrBOMVocabularySet |
createBOMVocabularySet(java.util.Locale locale,
IlrBOMVocabulary vocabulary,
boolean includeBootVoc)
Creates a BOM vocabulary set, initialized using the specified
locale. |
static IlrBOMVocabularySet |
createBOMVocabularySet(java.util.Locale locale,
java.util.List vocPath,
boolean includeBootVoc)
Creates a BOM vocabulary set, initialized using the specified
locale,
an ordered list of vocabularies, and the system BOM vocabulary
if the flag includeBootVoc is set to true. |
public static final IlrBOMVocabulary createBOMVocabulary(IlrObjectModel bom)
IlrObjectModel instance.bom - The object model.IlrBOMVocabulary.public static final IlrBOMVocabulary createBOMVocabulary(java.util.Locale locale, IlrObjectModel bom)
IlrObjectModel instance, for the
specified locale.locale - The locale.bom - The object model.IlrBOMVocabulary.public static final IlrBOMVocabularySet createBOMVocabularySet(java.util.Locale locale, IlrBOMVocabulary vocabulary, boolean includeBootVoc)
locale.
The BOM vocabulary set will contain the provided vocabulary, and the system BOM vocabulary
if the flag includeBootVoc is set to true.locale - The locale.vocabulary - The lone IlrBOMVocabulary composing this vocabulary set.includeBootVoc - If true, the system BOM vocabulary is added after vocabulary.IlrBOMVocabularySet.public static final IlrBOMVocabularySet createBOMVocabularySet(java.util.Locale locale, IlrBOMVocabulary[] vocPath, boolean includeBootVoc)
locale,
an array of vocabularies, and the system BOM vocabulary
if the flag includeBootVoc is set to true.locale - The locale.vocPath - The array of vocabularies that composes this vocabulary set.includeBootVoc - Indicates if the system BOM vocabulary should be included at the end of the vocabulary path.IlrBOMVocabularySet.public static final IlrBOMVocabularySet createBOMVocabularySet(java.util.Locale locale, java.util.List vocPath, boolean includeBootVoc)
locale,
an ordered list of vocabularies, and the system BOM vocabulary
if the flag includeBootVoc is set to true.locale - The locale.vocPath - The ordered list of vocabularies that composes this vocabulary set.includeBootVoc - Indicates if the system BOM vocabulary should be included at the end of the vocabulary path.IlrBOMVocabularySet.© Copyright IBM Corp. 1987, 2017