public interface IlrValueInfo
IlrValueInfo provides a way to describe a value when it
is used in the placeholder of a phrase.
An IlrValueInfo instance comprises the following services:
A service on a value info is required when a lexical value can be expressed in place of a placeholder role decorated with that value info.
IlrValueProvider,
IlrValueEditor,
IlrValueChecker,
IlrValueInfo| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDisplayName(java.util.Locale locale)
Returns the localized display name of this value info.
|
IlrValueChecker |
getValueChecker()
Returns the value checker associated with this value info.
|
java.lang.String |
getValueDescriptor()
Returns the value descriptor key associated with this value info.
|
java.lang.String |
getValueEditor()
Returns the value editor key associated with this value info.
|
IlrValueProvider |
getValueProvider()
Returns the value provider associated with this value info.
|
IlrValueTranslator |
getValueTranslator(java.lang.String target)
Returns the value translator associated with this value info.
|
java.lang.String getDisplayName(java.util.Locale locale)
locale - The locale.java.lang.String getValueDescriptor()
null.
The value descriptor class can be retrieved with that key through the value descriptor factory.IlrValueDescriptor,
IlrValueDescriptorFactoryjava.lang.String getValueEditor()
null.
The value editor class can be retrieved with that key through the value editor factory.
If no value editor is returned by this value info, the value editor registered for
the type, if any, is used.null if none.IlrValueEditor,
IlrValueEditorFactoryIlrValueProvider getValueProvider()
null.
If the value provider is not null, we consider that the set of possible values for this value info
is given and that the user is not allowed to input other values. For this reason, no value editor
is used.null if none.IlrValueProviderIlrValueChecker getValueChecker()
null.null if none.IlrValueCheckerIlrValueTranslator getValueTranslator(java.lang.String target)
null.
A value translator is used to translate to a target language values used in the placeholder role for which this value info is
declared.target - The target language.IlrValueTranslator© Copyright IBM Corp. 1987, 2017