private PropertyConverter getConverterForType ( Class pType ) { Object converter ; Class cl = pType ; // Loop until we find a suitable converter do { // Have a match, return converter if ( ( converter = getInstance ( ) . converters . get ( cl ) ) != null ) { return ( PropertyConverter ) converter ; } } while ( ( cl = cl . getSuperclass ( ) ) != null ) ; // No converter found, return null return null ; }
Gets the registered converter for the given type .