org.loom.converter
Class AbstractDecimalConverter

java.lang.Object
  extended by org.loom.converter.AbstractConverter
      extended by org.loom.converter.AbstractStringConverter
          extended by org.loom.converter.AbstractFormatConverter
              extended by org.loom.converter.AbstractDecimalConverter
All Implemented Interfaces:
Converter, FormInputDecorator
Direct Known Subclasses:
BigDecimalConverter, DoubleConverter

public abstract class AbstractDecimalConverter
extends AbstractFormatConverter


Field Summary
 
Fields inherited from class org.loom.converter.AbstractConverter
convertedClass, cssClass
 
Constructor Summary
AbstractDecimalConverter(java.lang.Class<?> convertedClass, java.lang.String typeKey)
           
 
Method Summary
protected  java.text.Format createFormat(MessagesRepository messagesRepository)
          Creates a new format instance.
 void setGroupingUsed(boolean groupingUsed)
           
 
Methods inherited from class org.loom.converter.AbstractFormatConverter
getAsObjectImpl, getAsTextImpl, getFormatKey, parse
 
Methods inherited from class org.loom.converter.AbstractStringConverter
getAsObject, getAsText, getNullValue, setNullValue
 
Methods inherited from class org.loom.converter.AbstractConverter
addErrorMessage, decorate, getConvertedClass, getCssClass, setConvertedClass, setCssClass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.loom.converter.Converter
getConvertedClass
 
Methods inherited from interface org.loom.validator.FormInputDecorator
decorate
 

Constructor Detail

AbstractDecimalConverter

public AbstractDecimalConverter(java.lang.Class<?> convertedClass,
                                java.lang.String typeKey)
Method Detail

createFormat

protected java.text.Format createFormat(MessagesRepository messagesRepository)
Description copied from class: AbstractFormatConverter
Creates a new format instance. Format instances may be different per locale and will be cached in the MessagesRepository

Specified by:
createFormat in class AbstractFormatConverter

setGroupingUsed

public void setGroupingUsed(boolean groupingUsed)