private static String getString(Element element) {
        StringBuilder s = new StringBuilder();

        NodeList children = element.getChildNodes();
        for (int i = 0; i < children.getLength(); i++) {
            Node node = children.item(i);
            if (node.getNodeType() == Node.TEXT_NODE) {
                s.append(node.getNodeValue());
            }
        }

        return s.toString();
    }
Builds and Returns an ExternalParser, or null if a check
command was given that didn't match.
tika-core/src/main/java/org/apache/tika/parser/external/ExternalParsersConfigReader.java