|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.castor.cpa.persistence.convertor.TypeConvertorRegistry
Registry of type convertors.
| Constructor Summary | |
TypeConvertorRegistry(org.castor.core.util.Configuration config)
Create a new registry instance of type convertors. |
|
| Method Summary | |
TypeConvertor |
getConvertor(java.lang.Class fromType,
java.lang.Class toType,
java.lang.String parameter)
Returns a type convertor initialized with parameter if specified. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TypeConvertorRegistry(org.castor.core.util.Configuration config)
config - The configuration to use.| Method Detail |
public TypeConvertor getConvertor(java.lang.Class fromType,
java.lang.Class toType,
java.lang.String parameter)
throws org.exolab.castor.mapping.MappingException
fromType - The Java type to convert from.toType - The Java type to convert to.parameter - The parameter for the convertor (null if is not specified).
org.exolab.castor.mapping.MappingException - No suitable convertor was found.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||