|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Extension public interface NameFactory
Factory for generic names and international strings.
Method Summary | |
---|---|
InternationalString |
createInternationalString(Map<Locale,String> strings)
Creates an international string from a set of strings in different locales. |
LocalName |
createLocalName(GenericName scope,
String name,
InternationalString localizedName)
Creates a local name from a scope and a name. |
ScopedName |
createScopedName(GenericName scope,
String name,
InternationalString localizedName)
Creates a scoped name from a scope and a name. |
Method Detail |
---|
InternationalString createInternationalString(Map<Locale,String> strings)
strings
- String value for each locale key.LocalName createLocalName(GenericName scope, String name, InternationalString localizedName)
name
argument is taken verbatism as the string representation
of the local name.
scope
- The scope, or null
for the global one.name
- The unlocalized name.localizedName
- A localized version of the name, or null
if none.ScopedName createScopedName(GenericName scope, String name, InternationalString localizedName)
name
argument will be parsed in order to construct the list of
parsed names.
scope
- The scope, or null
for the global one.name
- The unlocalized name.localizedName
- A localized version of the name, or null
if none.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |