|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exolab.castor.xml.XMLMappingLoader.IdentityConvertor
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 | |
|---|---|
(package private) |
XMLMappingLoader.IdentityConvertor()
|
| Method Summary | |
|---|---|
java.lang.Object |
convert(java.lang.Object object,
java.lang.String param)
Convert the object from one type to another. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
XMLMappingLoader.IdentityConvertor()
| Method Detail |
public java.lang.Object convert(java.lang.Object object,
java.lang.String param)
throws java.lang.ClassCastException
TypeConvertor
convert in interface TypeConvertorobject - The object to convertparam - The parameter for the convertor (null if is not specified)
java.lang.ClassCastException - The object is not of the type
supported by this convertor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||