Loading...
 

CX_XML_OBJECT

CX_XML_OBJECT

Class hierarchy
Description:

This class is the base class of all XML objects and manages the pure XML as such without offering operations that work on it. The objects of this class, if created persistently, have a persistent and a transient part. In the persistent part the XML is stored as a zipped string. This part can be stored in the database and from it a complete XML object can be created again at any time. The transient part of the object contains the XML structure as internal object hierarchy. This is required to be able to perform changes on the XML.

In order for changes to the XML to be accepted in the database, the function SaveXMLString must be called. This does not apply to the call of Assign.

If the object was only created transiently, the object is still split in two, but both parts are transient and saving the changes is no longer relevant.

Code example:

 

List of methods (MDI)
Function MA* Parameters Return Brief description
Assign CX_XML_OBJECT Overwrites the content of the calling XML object with the content of the passed XML object
LoadFromString STRING The content of the XML object is replaced by the XML passed in the string
SaveXMLString The transient state of the XML object is fixed in the persistent area
GetDomain INTEGER Domain of this object
GetSiblings COLLECTION All siblings of this object
GetSiblings2 COLLECTION All siblings of this object
SetDomain INTEGER, INTEGER Set domain
Unlink2 Remove this object from the list of objects with validity
VerifySiblings INTEGER Check ring of exchange objects

* MA = Member Access Function

Data directory (DDI)
Data field Type Reference class I* Brief description

* I = Indexable data field

Use in AppsWH
Module Brief description