Inheritance diagram for IXMLBase:
This base interface contains functionality to generate XML of this object, it can generate typed or untyped XML of this object. This interface can also be used to initialize this object using XML.
The main functionality however is to Upload an XML or CSV file into this object and to Download the data contained in this object to file.
See the detailed sections of the methods/properties for more information.
Public Member Functions | |
HRESULT | XMLDomElement ([out, retval] IDispatch **ppintfXMLElement) |
Returns the data of this object in an XML DOM element. | |
HRESULT | XMLDomElementTyped ([out, retval] IDispatch **ppintfXMLElement) |
Returns a typed XML DOM element of this object/. | |
HRESULT | XMLDomElement ([in] IDispatch *pintfXMLElement) |
Set all data of this object. | |
HRESULT | Download ([in] BSTR Filename,[in] EFileType EFileType) |
Saves all data of this object in an XML or CSV file. | |
HRESULT | Upload ([in] BSTR Filename,[in] EFileType EFileType,[in] EUploadOptions Options,[in, defaultvalue(0)] VARIANT_BOOL UploadAsync) |
Loads all object data from the specified file into this object. | |
HRESULT | UploadXMLDomElement ([in] IDispatch *pintfXMLElement,[in] EUploadOptions Options,[in, defaultvalue(0)] VARIANT_BOOL UploadAsync) |
Loads all object data from a DOM Document into this object. |
|
Returns the data of this object in an XML DOM element. This method returns the data of this object in an XML DOM element, no type information will be included. If you want XML as a string, use the 'xml' property of the returned XML Element.
|
|
Returns a typed XML DOM element of this object/. This property returns the data of this object in an XML DOM element, all data elements will include type information. If you want XML as a string, use the 'xml' property of the returned XML Element.
|
|
Set all data of this object. All data of this object will be set to the data supplied in the XML Element (if it contains valid data). This property can be used to copy information from, for instance, one reader to another reader. An easier method of copying data from one reader to another reader is to use the IProximityReader::CopyFrom method.
|
|
Saves all data of this object in an XML or CSV file. Stores all data of this object in a file. The data can be saved to either and XML file or to an .CSV file (Comma-Separated Values). Saving to a .CSV file is only supported for the userdatabase object.
|
|
Loads all object data from the specified file into this object. This method can for instance be used to upload an entire file of users into a reader. Events of processtype ptUploading are fired by this method, no progress events will be fired. If the uoClearUserDatabase flag is specified in the options, the IUserDatabase::Clear method will be called to clear the userdatabase. Check the documentation of that Clear method to see what events are generated on the userdatabase object. Depending on what other information is stored in the file, other events will be fired.
|
|
Loads all object data from a DOM Document into this object. This method can for instance be used to upload a DOM document into a reader. This method will fire the same events as the Upload method, refer to the Upload method documentation for more information.
|