IRISLIB database
StreamAdapter Class Reference
Inheritance diagram for StreamAdapter:
Collaboration diagram for StreamAdapter:

Public Member Functions

_.Library.Status OnNew (_.Library.RawString initvalue)
 
_.Library.String Read (pLen)
 If there is a prefix then return the prefix, else read from the stream.
 
- Public Member Functions inherited from RegisteredObject
_.Library.Status OnAddToSaveSet (_.Library.Integer depth, _.Library.Integer insert, _.Library.Integer callcount)
 This callback method is invoked when the current object is added to the SaveSet,. More...
 
_.Library.Status OnClose ()
 This callback method is invoked by the <METHOD>Close</METHOD> method to. More...
 
_.Library.Status OnConstructClone (_.Library.RegisteredObject object, _.Library.Boolean deep, _.Library.String cloned)
 This callback method is invoked by the <METHOD>ConstructClone</METHOD> method to. More...
 
_.Library.Status OnNew ()
 This callback method is invoked by the <METHOD>New</METHOD> method to. More...
 
_.Library.Status OnValidateObject ()
 This callback method is invoked by the <METHOD>ValidateObject</METHOD> method to. More...
 

Public Attributes

 Flags
 This holds Flags. More...
 
 Prefix
 This holds the prefix which has to be logically prepended to the XML stream. More...
 
 PrefixLength
 This holds the length of the calculated prefix. More...
 
 Stream
 This holds the stream object passed to the class constructor. More...
 
 TestBeginning
 This indicates that the beginning of the stream must be checked for UTF-8 BOM. More...
 
 index
 Internal index for SOAP global buffer. More...
 

Additional Inherited Members

- Static Public Attributes inherited from RegisteredObject
 CAPTION = None
 Optional name used by the Form Wizard for a class when generating forms. More...
 
 JAVATYPE = None
 The Java type to be used when exported.
 
 PROPERTYVALIDATION = None
 This parameter controls the default validation behavior for the object. More...
 

Detailed Description

For details on using this class, see Customizing How the SAX Parser Is Used.

This class is used to adapt a stream into an XML compliant stream that can be readily consumed by the SAX parser.

Member Function Documentation

◆ OnNew()

_.Library.Status OnNew ( _.Library.RawString  initvalue)

For details on using this class, see Customizing How the SAX Parser Is Used.

This class is used to adapt a stream into an XML compliant stream that can be readily consumed by the SAX parser.

Member Data Documentation

◆ Flags

Flags

This holds Flags.

 

◆ Prefix

Prefix

This holds the prefix which has to be logically prepended to the XML stream.

 

◆ PrefixLength

PrefixLength

This holds the length of the calculated prefix.

 

◆ Stream

Stream

This holds the stream object passed to the class constructor.

May be stream, string or 0 (internal buffer).  

◆ TestBeginning

TestBeginning

This indicates that the beginning of the stream must be checked for UTF-8 BOM.

without an XML declaration. The BOM will be removed in order to work aorund a Xerces bug.  

◆ index

index

Internal index for SOAP global buffer.