net.smartlab.web.bean
Class IntConverter

java.lang.Object
  extended by net.smartlab.web.bean.Converter
      extended by net.smartlab.web.bean.NumberConverter
          extended by net.smartlab.web.bean.IntConverter

public class IntConverter
extends NumberConverter

TODO documentation

Author:
rlogiacco

Constructor Summary
IntConverter()
          TODO documentation
IntConverter(int value)
          TODO documentation
 
Method Summary
 java.lang.Object convert(java.lang.Class type, java.lang.Object value, java.util.Locale locale)
          TODO documentation
 
Methods inherited from class net.smartlab.web.bean.NumberConverter
getDefault, hasDefault
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntConverter

public IntConverter()
TODO documentation


IntConverter

public IntConverter(int value)
TODO documentation

Parameters:
value -
Method Detail

convert

public java.lang.Object convert(java.lang.Class type,
                                java.lang.Object value,
                                java.util.Locale locale)
                         throws ConversionException
Description copied from class: Converter
TODO documentation

Specified by:
convert in class Converter
Parameters:
type - the target type
value - the value to be converted
locale - the locale to be used for the conversion
Returns:
an instance of the specified type which represents the converted input value
Throws:
ConversionException - if something wrong occurs during conversion or if the conversion couldn't be performed
See Also:
Converter.convert(java.lang.Class, java.lang.Object, java.util.Locale)


Copyright © 2004-2009 The SmartWeb Team. All Rights Reserved.