@Override
        EncodingDetector createComposite(Class<? extends EncodingDetector> encodingDetectorClass,
                                         List<EncodingDetector> childEncodingDetectors,
                                         Set<Class<? extends EncodingDetector>> excludeDetectors,
                                         Map<String, Param> params, MimeTypes mimeTypes,
                                         ServiceLoader loader)
                throws InvocationTargetException, IllegalAccessException, InstantiationException {
            EncodingDetector encodingDetector = null;
            Constructor<? extends EncodingDetector> c;

            // Try the possible default and composite detector constructors
            if (encodingDetector == null) {
                try {
                    c = encodingDetectorClass.getConstructor(ServiceLoader.class, Collection.class);
                    encodingDetector = c.newInstance(loader, excludeDetectors);
                } catch (NoSuchMethodException me) {
                    LOG.debug("couldn't find constructor for service loader + collection for {}",
                            encodingDetectorClass);
                }
            }
            if (encodingDetector == null) {
                try {
                    c = encodingDetectorClass.getConstructor(List.class);
                    encodingDetector = c.newInstance(childEncodingDetectors);
                } catch (NoSuchMethodException me) {
                    LOG.debug("couldn't find constructor for EncodingDetector(List) for {}",
                            encodingDetectorClass);
                }
            }

            return encodingDetector;
        }
Gets parameters from a given

@param el xml node which has {@link #PARAMS_TAG_NAME} child
@return Map of key values read from xml
tika-core/src/main/java/org/apache/tika/config/TikaConfig.java