com.taco.util
Class DefaultObjectMapper

java.lang.Object
  extended by com.taco.util.DefaultObjectMapper
All Implemented Interfaces:
IObjectMapper

public final class DefaultObjectMapper
extends java.lang.Object
implements IObjectMapper

An implementation of IObjectMapper that maps an object to itself.


Field Summary
static DefaultObjectMapper instance
          The singleton instance of this class.
 
Constructor Summary
protected DefaultObjectMapper()
          The sole constructor is protected because this class is implemented as a singleton.
 
Method Summary
 java.lang.Object map(java.lang.Object obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

public static final DefaultObjectMapper instance
The singleton instance of this class.

Constructor Detail

DefaultObjectMapper

protected DefaultObjectMapper()
The sole constructor is protected because this class is implemented as a singleton.

Method Detail

map

public java.lang.Object map(java.lang.Object obj)
Specified by:
map in interface IObjectMapper