net.smartlab.web.bean
Class ConverterManager

java.lang.Object
  extended by net.smartlab.web.bean.ConverterManager

public class ConverterManager
extends java.lang.Object

TODO documentation

Author:
rlogiacco

Constructor Summary
ConverterManager()
           
 
Method Summary
 java.lang.Object convert(java.lang.Class type, java.lang.Object value, java.util.Locale locale)
          TODO documentation
static ConverterManager getDefault()
          TODO documentation
 void setConverter(java.lang.Class type, Converter converter)
          Replaces a converter for a specified class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConverterManager

public ConverterManager()
Method Detail

convert

public java.lang.Object convert(java.lang.Class type,
                                java.lang.Object value,
                                java.util.Locale locale)
                         throws ConversionException
TODO documentation

Parameters:
type -
value -
locale -
Returns:
Throws:
ConversionException

getDefault

public static ConverterManager getDefault()
TODO documentation

Returns:

setConverter

public void setConverter(java.lang.Class type,
                         Converter converter)
Replaces a converter for a specified class.

Parameters:
type - the class for which the converter will be replaced.
converter - the converter to use for the specified class.


Copyright © 2004-2009 The SmartWeb Team. All Rights Reserved.