public XMLEncoder (OutputStream out)

Creates a new XML encoder to write out JavaBeans to the stream out using an XML encoding.

Parameters:
out    the stream to which the XML representation of the objects will be written

Exceptions:
IllegalArgumentException     if out is null

See also:
XMLDecoder.XMLDecoder(InputStream)