@Override
    public void clear() {
        value = "";
        if (spanTrees != null) {
            spanTrees.clear();
            spanTrees = null;
        }
    }
Sets the wrapped String to be an empty String, and clears all span trees.
document/src/main/java/com/yahoo/document/datatypes/StringFieldValue.java