com.endeca.portal.attributes.model.formatters
Class AttributeIntegerFormatter
java.lang.Object
com.endeca.portal.attributes.model.AttributeFormatter
com.endeca.portal.attributes.model.formatters.AttributeIntegerFormatter
- Direct Known Subclasses:
- AttributeNumericFormatter
public class AttributeIntegerFormatter
- extends AttributeFormatter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttributeIntegerFormatter
public AttributeIntegerFormatter()
getIntegerFormat
protected java.text.DecimalFormat getIntegerFormat()
- Returns:
- a
DecimalFormat
object rounding to integer
format
public java.lang.String format(java.lang.String rawValue)
- Specified by:
format
in class AttributeFormatter
isIncludePercentSuffix
public boolean isIncludePercentSuffix()
setIncludePercentSuffix
public void setIncludePercentSuffix(boolean includePercentSuffix)
getGroupingSeparator
public java.lang.String getGroupingSeparator()
setGroupingSeparator
public void setGroupingSeparator(java.lang.String groupingSeparator)