Microsoft SDK for Java

writeQuotedString

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).

Syntax

public void writeQuotedString(String str) throws IOException;

Parameters

str The String to write to the output stream.

Exceptions

IOException if any exceptional condition occurs during input or output.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.