Package org.exolab.castor.xml
Class XMLMappingLoader.IdentityConvertor
java.lang.Object
org.exolab.castor.xml.XMLMappingLoader.IdentityConvertor
- All Implemented Interfaces:
TypeConvertor
- Enclosing class:
XMLMappingLoader
A special TypeConvertor that simply returns the object
given. This is used for preventing the FieldHandlerImpl
from using a CollectionHandler when getValue is called.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IdentityConvertor
IdentityConvertor()
-
-
Method Details
-
convert
Description copied from interface:TypeConvertorConvert the object from one type to another.- Specified by:
convertin interfaceTypeConvertor- Parameters:
object- The object to convert.- Returns:
- The converted object.
-