DocBook|Search
Class Reference
%XML.SAX.Utils.NullStream
   
Server:basexml
Instance:SOAXML
User:UnknownUser
 
-
  [BASEXML] >  [%XML] >  [SAX] >  [Utils] >  [NullStream]
Private  Storage  

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

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
4


Summary

Properties
%Location AtEnd Attributes Id LastModified
LineTerminator Size

Methods
%%OIDGet %AddToSaveSet %CheckUnique %ClassIsLatestVersion
%ClassName %ConstructClone %Delete %DeleteExtent
%DeleteId %DispatchClassMethod %DispatchGetModified %DispatchGetProperty
%DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty
%Exists %ExistsId %Extends %GetParameter
%GetSwizzleObject %Id %IsA %IsModified
%KillExtent %LocationSet %LockStream %New
%NormalizeObject %ObjectModified %Oid %Open
%OpenId %OriginalNamespace %PackageName %ReleaseLock
%Reload %RemoveFromSaveSet %RollBack %Save
%SerializeObject %SetModified %UnlockStream %ValidateObject
Clear CopyFrom CopyFromAndSave DeleteAttribute
DeleteStream FindAt Flush GetAttribute
GetStreamId InputFromDevice IsCharacter IsDefinedAttribute
IsNull LastModifiedGet LineTerminatorSet MoveTo
MoveToEnd NextAttribute OpenStream OutputToDevice
OutputToDeviceAt Read ReadLine ReadLineIntoStream
ReadSQL Rewind SaveStream SerializeToSyncSet
SetAttribute SizeGet StreamOIDIsNull SyncStreamIn
Write WriteLine


Methods

• method CopyFromAndSave(source As %AbstractStream) as %Status
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.