org.jopendocument.util.convertor
Class ReverseConvertor<T,U>

java.lang.Object
  extended by org.jopendocument.util.convertor.ReverseConvertor<T,U>
All Implemented Interfaces:
ValueConvertor<T,U>

public class ReverseConvertor<T,U>
extends Object
implements ValueConvertor<T,U>


Constructor Summary
ReverseConvertor(ValueConvertor<U,T> delegate)
           
 
Method Summary
 U convert(T o)
           
 T unconvert(U o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReverseConvertor

public ReverseConvertor(ValueConvertor<U,T> delegate)
Method Detail

convert

public U convert(T o)
Specified by:
convert in interface ValueConvertor<T,U>

unconvert

public T unconvert(U o)
Specified by:
unconvert in interface ValueConvertor<T,U>


Copyright © 2010 jOpenDocument All Rights Reserved.