1 16 package org.directwebremoting.extend; 17 18 import java.util.Collection ; 19 import java.util.Map ; 20 21 25 public interface ConverterManager 26 { 27 32 void addConverterType(String id, String className); 33 34 43 void addConverter(String match, String type, Map params) throws IllegalArgumentException , InstantiationException , IllegalAccessException ; 44 45 51 void addConverter(String match, Converter converter) throws IllegalArgumentException ; 52 53 59 Collection getConverterMatchStrings(); 60 61 68 Converter getConverterByMatchString(String match); 69 70 75 boolean isConvertable(Class paramType); 76 77 87 Object convertInbound(Class paramType, InboundVariable iv, InboundContext inctx, TypeHintContext incc) throws MarshallException; 88 89 97 OutboundVariable convertOutbound(Object object, OutboundContext converted) throws MarshallException; 98 99 106 void setExtraTypeInfo(TypeHintContext thc, Class type); 107 108 114 Class getExtraTypeInfo(TypeHintContext thc); 115 116 120 void setConverters(Map converters); 121 } 122 | Popular Tags |