org.apache.bsf.util.type

## Class TypeConvertorRegistry

- java.lang.Object
- - org.apache.bsf.util.type.TypeConvertorRegistry

-     public class TypeConvertorRegistry
      extends java.lang.Object

  The TypeConvertorRegistry is the registry of type convertors. It has lookup and register capabilities based on the types to be converted as well as by some object key.
  Author:
    Sanjiva Weerawarana, Matthew J. Duftler
  See Also:
    `TypeConvertorRegistry`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TypeConvertorRegistry()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `TypeConvertor` | `lookup(java.lang.Class from, java.lang.Class to)`
    `TypeConvertor` | `lookupByKey(java.lang.Object key)`
    `void` | `register(java.lang.Class from, java.lang.Class to, TypeConvertor convertor)`
    `void` | `registerByKey(java.lang.Object key, TypeConvertor convertor)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### TypeConvertorRegistry

          public TypeConvertorRegistry()

  - ### Method Detail

    - #### lookup

          public TypeConvertor lookup(java.lang.Class from,
                                      java.lang.Class to)

    - #### lookupByKey

          public TypeConvertor lookupByKey(java.lang.Object key)

    - #### register

          public void register(java.lang.Class from,
                               java.lang.Class to,
                               TypeConvertor convertor)

    - #### registerByKey

          public void registerByKey(java.lang.Object key,
                                    TypeConvertor convertor)