ariba.ui.validation
Class BigDecimalMoneyFormatter

java.lang.Object
  extended by ariba.util.formatter.Formatter
      extended by ariba.ui.validation.GenericMoneyFormatter
          extended by ariba.ui.validation.BigDecimalMoneyFormatter
All Implemented Interfaces:
Compare, StringParser

public class BigDecimalMoneyFormatter
extends GenericMoneyFormatter

A currency-specific formatter for BigDecimals. (The currency is implied by the formatter instance rather than being tagged on the "Money" object itself).


Nested Class Summary
static class BigDecimalMoneyFormatter.BigDecimalMoneyAdaptor
           
static class BigDecimalMoneyFormatter.Currency
           
static class BigDecimalMoneyFormatter.CurrencyAdapter
           
static class BigDecimalMoneyFormatter.CurrencyFormatterMap
          Lazy map for producing formatters for a specific currency
 
Nested classes/interfaces inherited from class ariba.ui.validation.GenericMoneyFormatter
GenericMoneyFormatter.MoneyConverter
 
Field Summary
 
Fields inherited from class ariba.ui.validation.GenericMoneyFormatter
DefaultPrecision, EuroSymbol, EuroUniqueName, ParameterDisplayEuroSymbol
 
Fields inherited from interface ariba.util.core.Compare
EqualTo, GreaterThan, LessThan
 
Constructor Summary
BigDecimalMoneyFormatter(java.lang.Object currency)
           
 
Method Summary
 boolean containsKey(java.lang.Object key)
           
static BigDecimalMoneyFormatter formatterForCurrency(java.lang.String isoName)
           
static BigDecimalMoneyFormatter.CurrencyFormatterMap formattersByCurrency()
           
static BigDecimalMoneyFormatter.CurrencyFormatterMap formattersByCurrencyWithSuffix()
           
static java.util.Map<java.lang.String,BigDecimalMoneyFormatter.Currency> getCurrencies()
           
 
Methods inherited from class ariba.ui.validation.GenericMoneyFormatter
appendSuffix, compareMoneys, compareMoneys, compareMoneys, displayEuroSymbol, dualStringValue, getAmount, getCurrency, getDefaultStringValue, getDefaultStringValue, getEscapedStringValue, getEscapedStringValue, getStringValue, getStringValue, getStringValue, getStringValue, getStringValue, getStringValue, getValue, isMoney, isMoney, moneyInfo, moneyValue, moneyValue, moneyValue, moneyValue, parseMoney, parseMoney, parseMoney, parseMoneyNumber, parseMoneyNumber, quickCompareValue, setAppendSuffix, sleep, stringIsTooLong, stringIsTooLong, stringValueInCurrency, stringValueInCurrency
 
Methods inherited from class ariba.util.formatter.Formatter
canFormatNulls, compare, compare, equal, equal, getFormat, getFormat, getFormatterClassForType, getFormatterForObject, getFormatterForType, getLocale, getStringValue, getStringValue, getValue, handlesNulls, isBidirectional, makeParseException, makeParseException, makeParseException, makeParseExceptionMessage, makeParseExceptionMessage, objectsAreEqual, objectsAreEqual, parse, parse, parseString, parseString, quickCompare, quickCompare, registerFormatter
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BigDecimalMoneyFormatter

public BigDecimalMoneyFormatter(java.lang.Object currency)
Method Detail

formatterForCurrency

public static BigDecimalMoneyFormatter formatterForCurrency(java.lang.String isoName)

formattersByCurrency

public static BigDecimalMoneyFormatter.CurrencyFormatterMap formattersByCurrency()

formattersByCurrencyWithSuffix

public static BigDecimalMoneyFormatter.CurrencyFormatterMap formattersByCurrencyWithSuffix()

getCurrencies

public static java.util.Map<java.lang.String,BigDecimalMoneyFormatter.Currency> getCurrencies()

containsKey

public boolean containsKey(java.lang.Object key)


AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.