Text (String str) { String reason; if (str == null) { value = EMPTY_STRING; return this; } if ((reason = Verifier.checkCharacterData(str)) != null) { throw new IllegalDataException(str, "character content", reason); } value = str; return this; }