@Override
        Parser decorate(Parser created, Element element) throws TikaException {
            Parser parser = created;

            // Is there an explicit list of mime types for this to handle?
            Set<MediaType> parserTypes = mediaTypesListFromDomElement(element, "mime");
            if (!parserTypes.isEmpty()) {
                parser = ParserDecorator.withTypes(parser, parserTypes);
            }
            // Is there an explicit list of mime types this shouldn't handle?
            Set<MediaType> parserExclTypes = mediaTypesListFromDomElement(element, "mime-exclude");
            if (!parserExclTypes.isEmpty()) {
                parser = ParserDecorator.withoutTypes(parser, parserExclTypes);
            }

            // All done with decoration
            return parser;
        }
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