1 13 package com.tonbeller.wcf.convert; 14 15 import java.util.Map ; 16 17 import org.w3c.dom.Node ; 18 19 import com.tonbeller.wcf.format.FormatException; 20 import com.tonbeller.wcf.format.Formatter; 21 22 27 public interface Converter { 28 29 32 void validate(Map httpParamSource, Map fileParamSource, Node domTarget, Object beanTarget) throws ConvertException, FormatException; 33 34 37 void revert(Object beanSource, Node domTarget) throws ConvertException; 38 39 42 void setFormatter(Formatter formatter); 43 44 49 Formatter getFormatter(); 50 } 51 | Popular Tags |