Microsoft SDK for Java

XMLOutputStream Class Constructors

The XMLOutputStream class contains the following constructor:

XMLOutputStream(OutputStream out)

Constructs the XMLOutputStream object as a standard UTF-8 output stream. A subsequent call to the setEncoding method will specify the correct character encoding that is required. Create an XMLOutputStream by using the createOutputStream method of the XMLInputStream class.

Syntax

public XMLOutputStream(OutputStream out);

Parameters

out An output stream to use to create the XMLOutputStream.

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