javax.money.MonetaryAmount fields annotated
with Spring's common NumberFormat annotation.
NumberFormat
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private Formatter | |
| public Set | getFieldTypes()
Implements org. |
| public Parser | getParser(NumberFormat
the annotation instance annotation, Class<?> the type of field that was annotated fieldType)Implements org. fieldType
annotated with annotation.
|
| public Printer | getPrinter(NumberFormat
the annotation instance annotation, Class<?> the type of field that was annotated fieldType)Implements org. fieldType annotated with
annotation.
|
| CURRENCY_CODE_PATTERN | back to summary |
|---|---|
| private static final String CURRENCY_CODE_PATTERN | |
| Jsr354NumberFormatAnnotationFormatterFactory | back to summary |
|---|---|
| public Jsr354NumberFormatAnnotationFormatterFactory() | |
| configureFormatterFrom | back to summary |
|---|---|
| private Formatter | |
| getFieldTypes | back to summary |
|---|---|
| public Set Implements org. Doc from org. The types of fields that may be annotated with the <A> annotation.
| |
| getParser | back to summary |
|---|---|
| public Parser Implements org. Doc from org. Get the Parser to parse a submitted value for a field of If the object the parser returns is not assignable to
| |
| getPrinter | back to summary |
|---|---|
| public Printer Implements org. Doc from org. Get the Printer to print the value of a field of If the type T the printer accepts is not assignable to
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public MonetaryAmount | parse(String
the text string text, Locale the current user locale locale)Implements org. |
| public String | print(MonetaryAmount
the instance to print object, Locale the current user locale locale)Implements org. |
| numberFormatter | back to summary |
|---|---|
| private final Formatter<Number> numberFormatter | |
| NumberDecoratingFormatter | back to summary |
|---|---|
| public NumberDecoratingFormatter(Formatter<Number> numberFormatter) | |
| parse | back to summary |
|---|---|
| public MonetaryAmount parse(String text, Locale locale) throws ParseException Implements org. Doc from org. Parse a text String to produce a T.
| |
| back to summary | |
|---|---|
| public String print(MonetaryAmount object, Locale locale) Implements org. Doc from org. Print the object of type T for display.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private Currency | |
| public MonetaryAmount | parse(String
the text string text, Locale the current user locale locale)Implements org. |
| public String | print(MonetaryAmount
the instance to print object, Locale the current user locale locale)Implements org. |
| pattern | back to summary |
|---|---|
| private final String pattern | |
| PatternDecoratingFormatter | back to summary |
|---|---|
| public PatternDecoratingFormatter(String pattern) | |
| determineCurrency | back to summary |
|---|---|
| private Currency determineCurrency(String text, Locale locale) | |
| parse | back to summary |
|---|---|
| public MonetaryAmount parse(String text, Locale locale) throws ParseException Implements org. Doc from org. Parse a text String to produce a T.
| |
| back to summary | |
|---|---|
| public String print(MonetaryAmount object, Locale locale) Implements org. Doc from org. Print the object of type T for display.
| |