org.mentawai.converter
Class NullConverter

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

public class NullConverter
extends BasicConverter

Author:
Sergio Oliveira

Constructor Summary
NullConverter()
           
 
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

NullConverter

public NullConverter()
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.