private void extractOutput(String content, XHTMLContentHandler xhtml) throws SAXException {
        xhtml.startDocument();
        xhtml.startElement("div");
        xhtml.characters(content);
        xhtml.endElement("div");
        xhtml.endDocument();
    }
writes the content to the given XHTML
content handler

@param content the content which needs to be written
@param xhtml   XHTML content handler
@throws SAXException if the XHTML SAX events could not be handled
tika-parsers/tika-parsers-ml/tika-parser-nlp-module/src/main/java/org/apache/tika/parser/ner/NamedEntityParser.java