com.endeca.portal.attributes.model.formatters
Class AttributeCurrencyFormatter
java.lang.Object
com.endeca.portal.attributes.model.AttributeFormatter
com.endeca.portal.attributes.model.formatters.AttributeIntegerFormatter
com.endeca.portal.attributes.model.formatters.AttributeNumericFormatter
com.endeca.portal.attributes.model.formatters.AttributeCurrencyFormatter
public class AttributeCurrencyFormatter
- extends AttributeNumericFormatter
Constructor Summary |
AttributeCurrencyFormatter()
Custom constructor for creating a record spec from non-mdex models (e.g. deep-links). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttributeCurrencyFormatter
public AttributeCurrencyFormatter()
- Custom constructor for creating a record spec from non-mdex models (e.g. deep-links).
format
public java.lang.String format(java.lang.String rawValue)
- Overrides:
format
in class AttributeNumericFormatter
getCurrencySymbol
public java.lang.String getCurrencySymbol()
setCurrencySymbol
public void setCurrencySymbol(java.lang.String currencySymbol)
getCurrencySymbolPrefixed
public java.lang.Boolean getCurrencySymbolPrefixed()
setCurrentSymbolPrefixed
public void setCurrentSymbolPrefixed(java.lang.Boolean currencySymbolPrefixed)