|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exolab.castor.xml.Introspector.IdentityConvertor
class Introspector.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 | |
---|---|
Introspector.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 |
---|
Introspector.IdentityConvertor()
Method Detail |
---|
public java.lang.Object convert(java.lang.Object object, java.lang.String param) throws java.lang.ClassCastException
TypeConvertor
convert
in interface TypeConvertor
object
- 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 |