private void startSpan(String name) throws SAXException {
        if (name == null) {
            return;
        }
        currTextStyle = textStyleMap.get(name);
        hasWrittenStartStyleTags = false;
    }
Check if a node is a text node
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-miscoffice-module/src/main/java/org/apache/tika/parser/odf/OpenDocumentBodyHandler.java