com.fdsapi
Class NullConverter

java.lang.Object
  |
  +--com.fdsapi.NullConverter
All Implemented Interfaces:
Converter

public class NullConverter
extends java.lang.Object
implements Converter

Converter that simply takes an object as input and returns it unchanged. This is a noop or a Null object implementation. It is a stateless object as it does nothing!

View Code


Constructor Summary
NullConverter()
          Creates a new instance of NullConverter
 
Method Summary
 java.lang.Object convert(java.lang.Object inputObj)
           
 Converter createInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullConverter

public NullConverter()
Creates a new instance of NullConverter

Method Detail

convert

public java.lang.Object convert(java.lang.Object inputObj)
Specified by:
convert in interface Converter

createInstance

public Converter createInstance()
Specified by:
createInstance in interface Converter