Esempio n. 1
0
 public T convert(Object source) throws ConversionException {
   Object tmp = source;
   for (Converter converter : components) {
     tmp = converter.convert(tmp);
   }
   return (T) tmp;
 }
Esempio n. 2
0
 public T next() {
   S sourceValue = source.next();
   return converter.convert(sourceValue);
 }