protected PriorityConverterMap getConverters ( ) { //the map to be returned PriorityConverterMap allConverters = new PriorityConverterMap ( ) ; //add the default converters if ( addDefaultConvertersFlag ( ) ) { allConverters . addAll ( getDefaultConverters ( ) ) ; } //add the discovered converters if ( addDiscoveredConvertersFlag ( ) ) { allConverters . addAll ( DefaultConverters . getDiscoveredConverters ( getClassLoader ( ) ) ) ; } //finally add the programatically added converters allConverters . addAll ( userConverters ) ; allConverters . setUnmodifiable ( ) ; return allConverters ; }
Get the converters default discovered and user registered converters are included as appropriate .