net.sf.doolin.util
Class ReadOnlyStringAdapter<S>

java.lang.Object
  extended by net.sf.doolin.util.ReadOnlyAdapter<S,String>
      extended by net.sf.doolin.util.ReadOnlyStringAdapter<S>
Type Parameters:
S - Type of the subject
All Implemented Interfaces:
Adapter<S,String>

public class ReadOnlyStringAdapter<S>
extends ReadOnlyAdapter<S,String>

This read-only adapter converts the subjects to a string.

Author:
Damien Coraboeuf

Constructor Summary
ReadOnlyStringAdapter()
           
 
Method Summary
 String convertSubjectToTarget(S subjectValue)
          Conversion from the subject to the target
 
Methods inherited from class net.sf.doolin.util.ReadOnlyAdapter
convertTargetToSubject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReadOnlyStringAdapter

public ReadOnlyStringAdapter()
Method Detail

convertSubjectToTarget

public String convertSubjectToTarget(S subjectValue)
Description copied from interface: Adapter
Conversion from the subject to the target

Parameters:
subjectValue - Subject value
Returns:
Target value


Copyright © 2011. All Rights Reserved.