| Package | Description |
|---|---|
| com.force.i18n | |
| com.force.i18n.grammar | |
| com.force.i18n.grammar.parser |
| Modifier and Type | Method and Description |
|---|---|
String |
LabelUtils.getPublicString(GrammaticalLabelSet labelSet,
String section,
String param) |
| Modifier and Type | Interface and Description |
|---|---|
static interface |
GrammaticalLabelSet.GrammaticalLabelSetComposite
An interface that is a composite of two GrammaticalLabelSets, a fallback
set for any values that are missing from an overlay set
|
| Modifier and Type | Class and Description |
|---|---|
class |
GrammaticalLabelSetFallbackImpl
A GrammaticalLabel set that contains two different sets, one "main"
set that, and a fallback set that can be used to retrieve labels that
don't exist in the "main" set.
|
class |
GrammaticalLabelSetImpl
A label set that uses a LabelDictionary to provide the ability to
rename nouns and use more "generic" functionality.
|
| Modifier and Type | Method and Description |
|---|---|
GrammaticalLabelSet |
GrammaticalLabelSetFallbackImpl.getFallback() |
GrammaticalLabelSet |
GrammaticalLabelSet.GrammaticalLabelSetComposite.getFallback() |
GrammaticalLabelSet |
GrammaticalLocalizer.getLabelSet() |
GrammaticalLabelSet |
GrammaticalLabelSetFallbackImpl.getOverlay() |
GrammaticalLabelSet |
GrammaticalLabelSet.GrammaticalLabelSetComposite.getOverlay() |
GrammaticalLabelSet |
GrammaticalLabelSetProvider.getSet(HumanLanguage language) |
static GrammaticalLabelSet |
GrammaticalLabelSetImpl.getTestLabelSet(LanguageLabelSetDescriptor.GrammaticalLabelSetDescriptor descriptor)
Use this only for testing or various values.
|
static GrammaticalLabelSet |
GrammaticalLabelSetImpl.getTestLabelSet(LanguageLabelSetDescriptor.GrammaticalLabelSetDescriptor descriptor,
GrammaticalLabelSetProvider parent) |
| Constructor and Description |
|---|
GrammaticalLabelSetFallbackImpl(GrammaticalLabelSet main,
GrammaticalLabelSet fallback) |
GrammaticalLocalizer(Locale locale,
Locale currencyLocale,
TimeZone timeZone,
HumanLanguage language,
GrammaticalLabelSet labelSet) |
| Modifier and Type | Method and Description |
|---|---|
GrammaticalLabelSet |
GrammaticalLabelSetLoader.getSet(HumanLanguage userLanguage) |
protected GrammaticalLabelSet |
GrammaticalLabelSetLoader.getSetByDescriptor(LanguageLabelSetDescriptor.GrammaticalLabelSetDescriptor desc)
Return a LabelSet based on the supplied descriptor.
|
GrammaticalLabelSet |
LabelValidator.getTestLabelSet(HumanLanguage language,
String text,
String grammarOverride) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
LabelValidator.validateReferencedCaseFormsExistTest(List<GrammaticalLabelSet> sets)
Validate that the referenced case forms exist for the nouns in the label sets
|
Copyright (c) 2016-2017, Salesforce.com, Inc. All rights reserved. Licensed under the BSD 3-Clause license. For full license text, see the LICENSE.txt file in the repository.