TypeConvertorRegistry (Bean Scripting Framework API)
Keywords: org.apache.bsf.util.type.TypeConvertorRegistry class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
`TypeConvertorRegistry()`

Method Summary
`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)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD