org.mentawai.converter
Class DoubleConverter

java.lang.Object
  extended by org.mentawai.converter.BasicConverter
      extended by org.mentawai.converter.DoubleConverter
All Implemented Interfaces:
Converter

public class DoubleConverter
extends BasicConverter

Author:
Sergio Oliveira

Constructor Summary
DoubleConverter()
           
 
Method Summary
 Object convert(Object value)
          Converts an object to another one.
 
Methods inherited from class org.mentawai.converter.BasicConverter
allowNull, convert
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoubleConverter

public DoubleConverter()
Method Detail

convert

public Object convert(Object value)
               throws ConversionException
Description copied from class: BasicConverter
Converts an object to another one. Implement this method with the convertion logic.

Specified by:
convert in class BasicConverter
Parameters:
value - The object to convert.
Returns:
The new object converted.
Throws:
ConversionException - if the conversion fail for any reason.


Copyright © 2013. All Rights Reserved.