Microsoft SDK for Java

createOutputStream

This method of the XMLInputStream class constructs an XMLOutputStream with the appropriate initial state. XMLOutputStream objects should always be created using this method for the output stream to mimic the input stream.

Syntax

public XMLOutputStream createOutputStream(OutputStream out);

Return Value

Returns a correctly initialized XMLOutputStream for use with the current XMLInputStream.

Parameters

out The output stream to base the XMLOutputStream object on.

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