intarsys runtime library

de.intarsys.tools.converter
Class StandardConverterRegistry

java.lang.Object
  extended by de.intarsys.tools.converter.StandardConverterRegistry
All Implemented Interfaces:
IConverterRegistry

public class StandardConverterRegistry
extends Object
implements IConverterRegistry

Standard IConverterRegistry implementation.


Constructor Summary
StandardConverterRegistry()
           
 
Method Summary
 Object convert(Object source, Class targetType)
           
 boolean isLookupProviders()
           
 IConverter lookupConverter(Class targetType)
           
 void registerConverter(IConverter converter)
           
 void setLookupProviders(boolean lookupProviders)
           
 void unregisterConverter(IConverter converter)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardConverterRegistry

public StandardConverterRegistry()
Method Detail

convert

public Object convert(Object source,
                      Class targetType)
               throws ConversionException
Specified by:
convert in interface IConverterRegistry
Throws:
ConversionException

isLookupProviders

public boolean isLookupProviders()

lookupConverter

public IConverter lookupConverter(Class targetType)
Specified by:
lookupConverter in interface IConverterRegistry

registerConverter

public void registerConverter(IConverter converter)
Specified by:
registerConverter in interface IConverterRegistry

setLookupProviders

public void setLookupProviders(boolean lookupProviders)

unregisterConverter

public void unregisterConverter(IConverter converter)
Specified by:
unregisterConverter in interface IConverterRegistry

intarsys runtime library

Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.