|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.util.MethodItemConverter<S,T>
S - Type of the source objectT - Type of the target objectMethodFunction instead.
@Deprecated public class MethodItemConverter<S,T>
Converts a S object into a T object by calling a method on S.
| Constructor Summary | |
|---|---|
MethodItemConverter(String methodName)
Deprecated. Constructor |
|
| Method Summary | |
|---|---|
T |
convert(S source)
Deprecated. Calls the method on the source object and casts the result
to <T>. |
String |
getMethodName()
Deprecated. Returns the method name |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MethodItemConverter(String methodName)
methodName - Method name| Method Detail |
|---|
public T convert(S source)
source object and casts the result
to <T>.
convert in interface ItemConverter<S,T>source - Source object
public String getMethodName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||