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

%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 (Including Private)

Methods (Including Private)

private classmethod %DeleteData(soid As %String, concurrency As %Integer) as %Status
private method %Load(sid As %String) as %Status
private method %SaveData(ByRef sid As %String) as %Status
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 (Including Private)

Inherited Methods (Including Private)