Package io.guise.framework.converter
Interface NumberStringLiteralConverter<V extends Number>
- Type Parameters:
V
- The value type this converter supports.
- All Known Implementing Classes:
AbstractNumberStringLiteralConverter
,DoubleStringLiteralConverter
,FloatStringLiteralConverter
,IntegerStringLiteralConverter
,LongStringLiteralConverter
Indicates an object that can convert a number from and to a string. This converter supports different representations, including number, currency, percent,
and integer. If the currency style is chosen, care should be taken to indicate a specific constant currency unless it is desired that the currency type
change whenever the locale changes.
- Author:
- Garret Wilson
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
The style of the number in its literal form. -
Field Summary
Modifier and TypeFieldDescriptionstatic final Currency
Euro currency.static final Currency
United States Dollar currency.Fields inherited from interface io.guise.framework.converter.Converter
INVALID_VALUE_MESSAGE_PROPERTY
-
Method Summary
Methods inherited from interface io.guise.framework.converter.Converter
convertLiteral, convertValue, getInvalidValueMessage, getSession, isEquivalent, isValidLiteral, setInvalidValueMessage
Methods inherited from interface com.globalmentor.beans.PropertyBindable
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, hasPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
-
Field Details
-
USD_CURRENCY
United States Dollar currency. -
EUR_CURRENCY
Euro currency.
-