This method of the XMLOutputStream class writes out the string enclosed in quotation marks. This method uses quotation marks that are appropriate for the string (for example, if a string contains a single quotation mark ('), the method uses a double quotation mark ("), and so on).
public void writeQuotedString(String str) throws IOException;
str | The String to write to the output stream. |
IOException if any exceptional condition occurs during input or output.