Skip to main content

%XML.SAX.Utils.NullStream

stream class %XML.SAX.Utils.NullStream extends %Library.AbstractStream

This class is represents a null stream, i.e. reading from it always returns nothing, and writing to it always discards the data. Used by the default implementation of Entity resolver when uri scheme is unrecognized.

Method Inventory

Methods

method CopyFromAndSave(source As %AbstractStream) as %Status
Inherited description: Copy the stream from source into the current stream ignoring anything already in the current stream and save the result to the permanent location. This is used to optimise the copying of say a %GlobalCharacterStream to another %GlobalCharacterStream to avoid copying into temporary storage first and then moving this to the permanent storage when SaveStream() is called.

Note that any locking or transaction handling must be done by the caller.

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab