Public Member Functions

org.exolab.castor.xml.XMLMappingLoader.IdentityConvertor Class Reference

Inheritance diagram for org.exolab.castor.xml.XMLMappingLoader.IdentityConvertor:
org.exolab.castor.mapping.TypeConvertor

List of all members.

Public Member Functions

Object convert (Object object, String param) throws ClassCastException

Detailed Description

A special TypeConvertor that simply returns the object given. This is used for preventing the FieldHandlerImpl from using a CollectionHandler when getValue is called.


Member Function Documentation

Object org.exolab.castor.xml.XMLMappingLoader.IdentityConvertor.convert ( Object  object,
String  param 
) throws ClassCastException

Convert the object from one type to another.

Parameters:
object The object to convert
param The parameter for the convertor (null if is not specified)
Returns:
The converted object
Exceptions:
ClassCastException The object is not of the type supported by this convertor

Implements org.exolab.castor.mapping.TypeConvertor.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties