Class BooleanSpeller
java.lang.Object
com.aquima.interactions.framework.mask.impl.speller.BooleanSpeller
Speller to spell a boolean value.
The values for a language are retrieved from the context with the following keys:
- mask.boolean.true
- mask.boolean.false
- mask.boolean.short.true
- mask.boolean.short.false
- Since:
- 6.0
- Author:
- Jon van Leuven
-
Constructor Summary
ConstructorsConstructorDescriptionBooleanSpeller
(IMaskContext context, ILanguage language) Construct a speller. -
Method Summary
-
Constructor Details
-
BooleanSpeller
Construct a speller.- Parameters:
context
- The context used for message retrieval.language
- The language used for message retrieval.
-
-
Method Details
-
spell
Spell a boolean.- Parameters:
b
- The boolean.useShortNotation
- boolean indicating if shortnotation must be used.- Returns:
- The spelled boolean.
-