Map<String, Param> getParams(Element el) throws TikaException {
            Map<String, Param> params = new HashMap<>();
            for (Node child = el.getFirstChild(); child != null; child = child.getNextSibling()) {
                if (PARAMS_TAG_NAME.equals(child.getNodeName())) { //found the node
                    if (child.hasChildNodes()) { //it has children
                        NodeList childNodes = child.getChildNodes();
                        for (int i = 0; i < childNodes.getLength(); i++) {
                            Node item = childNodes.item(i);
                            if (item.getNodeType() == Node.ELEMENT_NODE) {
                                Param<?> param = Param.load(item);
                                params.put(param.getName(), param);
                            }
                        }
                    }
                    break; //only the first one is used
                }
            }
            return params;
        }
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