org.simantics.databoard.adapter.impl
Class PassThruAdapter

java.lang.Object
  extended by org.simantics.databoard.adapter.AbstractAdapter
      extended by org.simantics.databoard.adapter.impl.PassThruAdapter
All Implemented Interfaces:
Adapter

public class PassThruAdapter
extends AbstractAdapter
implements Adapter


Constructor Summary
PassThruAdapter()
           
 
Method Summary
 java.lang.Object adapt(java.lang.Object obj)
          Adapt instance of one binding to format of another binding.
 
Methods inherited from class org.simantics.databoard.adapter.AbstractAdapter
adaptUnchecked, finalizeConstruction
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.simantics.databoard.adapter.Adapter
adaptUnchecked
 

Constructor Detail

PassThruAdapter

public PassThruAdapter()
Method Detail

adapt

public java.lang.Object adapt(java.lang.Object obj)
                       throws AdaptException
Description copied from interface: Adapter
Adapt instance of one binding to format of another binding. Note! adapt may recycle the argument (use it in the result). This dependes on the implementation. Cloning adapter recycles only immutable instances.

Specified by:
adapt in interface Adapter
Parameters:
obj - source instance
Returns:
result
Throws:
AdaptException