1 13 package com.tonbeller.wcf.convert; 14 15 import java.lang.reflect.InvocationTargetException ; 16 import java.util.Map ; 17 18 import org.w3c.dom.Element ; 19 20 import com.tonbeller.wcf.format.FormatException; 21 import com.tonbeller.wcf.format.Formatter; 22 23 27 public interface NodeConverter { 28 29 46 void convert(Formatter fmt, Map requestSource, Map fileSource, Element domTarget, Object beanTarget) 47 throws ConvertException, FormatException, IllegalAccessException , NoSuchMethodException , InvocationTargetException ; 48 49 52 void convert(Formatter fmt, Object beanSource, Element domTarget) 53 throws ConvertException, IllegalAccessException , NoSuchMethodException , InvocationTargetException ; 54 55 58 String getElementName(); 59 void setElementName(String elemName); 60 61 62 } 63 | Popular Tags |