Package io.guise.framework.converter
Interface NumberStringLiteralConverter<V extends java.lang.Number>
-
- Type Parameters:
V
- The value type this converter supports.
- All Superinterfaces:
Converter<V,java.lang.String>
,com.globalmentor.beans.PropertyBindable
- All Known Implementing Classes:
AbstractNumberStringLiteralConverter
,DoubleStringLiteralConverter
,FloatStringLiteralConverter
,IntegerStringLiteralConverter
,LongStringLiteralConverter
public interface NumberStringLiteralConverter<V extends java.lang.Number> extends Converter<V,java.lang.String>
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:
- WorldPay - Integration Guides (spig12300)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
NumberStringLiteralConverter.Style
The style of the number in its literal form.
-
Field Summary
Fields Modifier and Type Field Description static java.util.Currency
EUR_CURRENCY
Euro currency.static java.util.Currency
USD_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
-
-