Package org.exolab.castor.xml
Class Introspector.IdentityConvertor
java.lang.Object
org.exolab.castor.xml.Introspector.IdentityConvertor
- All Implemented Interfaces:
TypeConvertor
- Enclosing class:
- Introspector
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:TypeConvertor
Convert the object from one type to another.- Specified by:
convert
in interfaceTypeConvertor
- Parameters:
object
- The object to convert.- Returns:
- The converted object.
-