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