org.norther.tammi.core.converter
Interface Converter

All Superinterfaces:
Container, ObjectConverter
All Known Implementing Classes:
DefaultConverter

public interface Converter
extends ObjectConverter, Container

Converter converts objects from different class types to others. Conversions between strings and Java base types are provided by the default implementation. For more complicated cases, class specific converters can be implemented as ObjectConverters and registered to Converter.

The registration key for ObjectConverter is the class name of the result class of the converter and the registration value the registered object name of the implementation of the converter.

The same converter may be registered for more than one class.

Implementations should be capable of converting one dimensional arrays, too.

Author:
Ilkka Priha

Method Summary
 
Methods inherited from interface org.norther.tammi.core.converter.ObjectConverter
getFormatPattern, getInstance, getInstance, getInstance, getLocalizedPattern, getResourceFinderName, isConversionSupported, setResourceFinderName, toString, toString, toString, toStrings, toStrings, toStrings
 
Methods inherited from interface org.norther.tammi.core.base.Container
clear, containsKey, get, getContainerKey, getContainerKey, getContainerKey, getMBean, getMBeanInterface, getMBeanInterface, getObjectName, getObjectNames, getQueryPattern, registryKeySet, registryKeySet, registryKeySet, registryKeySet, registryMap, registrySize, remove, setMBeanInterface, setQueryPattern, setQueryPattern
 



Copyright © 2004 The Norther Organization. All rights reserved.