MXmlEngOutputStream Class Reference

class MXmlEngOutputStream

Provides an interface for writing serialized XML data to a stream. This interface should be implemented by client applications when the RXmlEngDocument::SaveL() method is used to serialize XML data to a stream.

No ownership is transferred by RXmlEngDocument::SaveL(), thus an object of the implementing class should be freed after use.

RXmlEngDocument::SaveL()

Public Member Functions
TInt Close()
TInt Write(const TDesC8 &)

Member Functions Documentation

Close()

TInt Close()[pure virtual]

Closes the output stream. 0 if successful or -1 in the case of an error

Write(const TDesC8 &)

TInt Write(const TDesC8 &aBuffer)[pure virtual]

Writes the specified buffer to the output stream. The number of bytes written or -1 in the case of an error

Parameters

const TDesC8 & aBufferThe data to write