org.directwebremoting.extend
Class AbstractConverter

java.lang.Object
  extended by org.directwebremoting.extend.AbstractConverter
All Implemented Interfaces:
Converter
Direct Known Subclasses:
BigNumberConverter, CharArrayConverter, CollectionConverter, ConstructorConverter, ContextConverter, CurrencyConverter, DateConverter, DOM4JConverter, DOMConverter, EnumConverter, FileConverter, JavascriptFunctionConverter, JavascriptObjectConverter, JDOMConverter, LocalDateTimeConverter, LocaleConverter, NullConverter, PrimitiveConverter, ProxyInterfaceConverter, RawConverter, ServletConverter, StringConverter, StringEnumAbstractBaseConverter, StringWrapperConverter, URIConverter, URLConverter, XOMConverter

public abstract class AbstractConverter
extends java.lang.Object
implements Converter

A way to migrate from the DWRv2.0 Converter style to something in the future. Inheriting from this is advised to help with forwards compatibility.

Author:
Joe Walker [joe at getahead dot ltd dot uk]

Constructor Summary
AbstractConverter()
           
 
Method Summary
 void setConverterManager(ConverterManager converterManager)
          If we are a compound converter that farms out part of the conversion to other converters then you farm the conversion out via a configuration.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.directwebremoting.extend.Converter
convertInbound, convertOutbound
 

Constructor Detail

AbstractConverter

public AbstractConverter()
Method Detail

setConverterManager

public void setConverterManager(ConverterManager converterManager)
Description copied from interface: Converter
If we are a compound converter that farms out part of the conversion to other converters then you farm the conversion out via a configuration.

Specified by:
setConverterManager in interface Converter
Parameters:
converterManager - The configuration object

Copyright 2008