| Package | Description |
|---|---|
| com.force.i18n | |
| com.force.i18n.grammar | |
| com.force.i18n.grammar.impl | |
| com.force.i18n.grammar.parser |
| Modifier and Type | Method and Description |
|---|---|
Noun |
Renameable.getStandardNoun(HumanLanguage language) |
| Modifier and Type | Class and Description |
|---|---|
static class |
ArticledDeclension.LegacyArticledNoun
Represents a noun that in the old grammar engine had an "article" that could always be derived from the noun itself as opposed to the translation.
|
static class |
ArticledDeclension.SimpleArticledPluralNoun
Represents a simple noun with a singular and plural form, but that supports articles.
|
static class |
LanguageDeclension.SimplePluralNoun
Represents a simple noun with a singular and plural form.
|
| Modifier and Type | Method and Description |
|---|---|
Noun |
Noun.clone() |
Noun |
LanguageDeclension.SimplePluralNoun.clone() |
Noun |
ArticledDeclension.SimpleArticledPluralNoun.clone() |
Noun |
Noun.clone(LanguageGender genderOverride,
LanguageStartsWith startsWithOverride) |
Noun |
Noun.clone(LanguageGender genderOverride,
LanguageStartsWith startsWithOverride,
Map<NounForm,String> valueOverrides)
Make a clone of the given noun, overwriting the given values with the provided overrides
|
Noun |
LanguageDictionary.createNoun(String tableEnumOrId,
Noun.NounType type,
ResultSet rs,
Uniquefy uniquefy)
construct new noun from result set.
|
Noun |
LanguageDeclension.createNoun(String name,
Noun.NounType type,
String entityName,
LanguageStartsWith startsWith,
LanguageGender gender,
Map<? extends NounForm,String> forms)
Accessor for creating custom nouns simply based on all of the forms.
|
Noun |
LanguageDeclension.createNoun(String name,
Noun.NounType type,
String entityName,
ResultSet rs)
Helper method for creating a noun from the database
|
Noun |
LanguageDictionary.createNoun(String name,
String pluralAlias,
Noun.NounType type,
String entityName,
LanguageStartsWith startsWith,
LanguageGender gender,
String access,
boolean isStandardField,
boolean isCopied) |
protected abstract Noun |
LanguageDeclension.createNoun(String name,
String pluralAlias,
Noun.NounType type,
String entityName,
LanguageStartsWith startsWith,
LanguageGender gender,
String access,
boolean isStandardField,
boolean isCopied) |
Noun |
LanguageDictionary.getDynamicNoun(String name,
Renameable ei,
boolean getRenamedValue,
boolean doFormat)
used to resolve custom object name at runtime.
|
Noun |
RenamingProvider.getNoun(HumanLanguage language,
Renameable key)
Get a renamed noun for the given renameable, or the standard noun if there isn't
a renamed noun for that object.
|
Noun |
LanguageDictionary.getNoun(String name,
boolean getRenamedValue) |
Noun |
LanguageDictionary.getNounByPluralAlias(String name,
boolean getRenamedValue) |
Noun |
LanguageDictionary.getOrCreateNoun(String tableEnum,
String name,
String pluralAlias,
Noun.NounType type,
LanguageGender gender,
LanguageStartsWith startsWith,
String access,
boolean isStandardField) |
Noun |
RenamingProvider.getPackagedNoun(HumanLanguage language,
String key)
Get the "original" noun for a non standard key, in case there is some other "standard" label for it
|
Noun |
RenamingProvider.getRenamedNoun(HumanLanguage language,
String key)
Get a renamed "standard" noun
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.Multimap<String,Noun> |
LanguageDictionary.getNounsByEntity() |
| Modifier and Type | Method and Description |
|---|---|
void |
LanguageDictionary.setString(Noun n,
NounForm form,
String value) |
| Modifier and Type | Class and Description |
|---|---|
static class |
TamilDeclension.TamilNoun
Represents a Tamil noun.
|
| Modifier and Type | Method and Description |
|---|---|
Noun |
TamilDeclension.TamilNoun.clone()
Need to override so that a cloned TamilNoun's values map is a HashMap.
|
protected Noun |
TamilDeclension.createNoun(String name,
String pluralAlias,
Noun.NounType type,
String entityName,
LanguageStartsWith startsWith,
LanguageGender gender,
String access,
boolean isStandardField,
boolean isCopied) |
protected Noun |
EsperantoDeclension.createNoun(String name,
String pluralAlias,
Noun.NounType type,
String entityName,
LanguageStartsWith startsWith,
LanguageGender gender,
String access,
boolean isStandardField,
boolean isCopied) |
| Modifier and Type | Method and Description |
|---|---|
AdjectiveForm |
TermAttributes.getAdjectiveForm(LanguageDeclension decl,
Noun n,
NounForm nounForm,
GrammaticalTerm nextLexicalElement) |
ArticleForm |
TermAttributes.getArticleForm(LanguageDeclension decl,
Noun n,
NounForm nounForm,
GrammaticalTerm nextLexicalElement) |
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.