This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Home > Class Reference > ENSLIB namespace > %XML.SAX.Utils.NullStream


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

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

Method Inventory


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 window