| java.lang.Object org.directwebremoting.guice.InternalConverterManager
InternalConverterManager | public class InternalConverterManager implements ConverterManager(Code) | | Extends an existing converter manager with an injected list of converters
specified at Guice bind-time. Only to be used in conjunction with
DwrGuiceServlet .
author: Tim Peierls [tim at peierls dot net] |
Method Summary | |
public void | addConverter(String match, String type, Map<String, String> params) | public void | addConverter(String match, Converter converter) | public void | addConverterType(String id, String className) | public Object | convertInbound(Class> paramType, InboundVariable iv, InboundContext inctx, TypeHintContext incc) | public OutboundVariable | convertOutbound(Object object, OutboundContext outctx) | public Converter | getConverterByMatchString(String match) | public Collection<String> | getConverterMatchStrings() | public Class> | getExtraTypeInfo(TypeHintContext thc) | public boolean | isConvertable(Class> paramType) | public void | setConverters(Map<String, Converter> converters) | public void | setExtraTypeInfo(TypeHintContext thc, Class> type) | static void | setTypeName(String name) Stores a type name in a thread-local variable for later retrieval by
getConverterManager . |
InternalConverterManager | public InternalConverterManager()(Code) | | Retrieves an underlying converter manager from thread-local state
to which this class delegates
ConverterManager calls.
|
isConvertable | public boolean isConvertable(Class> paramType)(Code) | | |
setTypeName | static void setTypeName(String name)(Code) | | Stores a type name in a thread-local variable for later retrieval by
getConverterManager .
|
|
|