Datasnap.Xmlxform.TXMLTransformProvider

From RAD Studio API Documentation
Jump to: navigation, search

Datasnap.Provider.TCustomProviderSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTXMLTransformProvider

Delphi

TXMLTransformProvider = class(TCustomProvider)

C++

class PASCALIMPLEMENTATION TXMLTransformProvider : public Datasnap::Provider::TCustomProvider

Properties

Type Visibility Source Unit Parent
class public
Datasnap.Xmlxform.pas
Datasnap.Xmlxform.hpp
Datasnap.Xmlxform Datasnap.Xmlxform

Description

TXMLTransformProvider provides data from and resolves updates to an XML document.

Use TXMLTransformProvider to provide data from an XML document to a client dataset or XML broker and to resolve updates from that client dataset or XML broker back to the source XML document. TXMLTransformProvider can be a part of the same application as the client dataset or XML broker, or it can be placed in the application server of a multi-tiered application. It serves as a translator between an XML document and a client dataset.

TDataSetProvider packages data from the source XML document and passes it in one or more transportable data packets to the client dataset or XML broker.

When the provider supplies data to a client dataset, the client dataset reconstructs the data in the data packet to create a local, in-memory copy for user access. When user access is complete, the client dataset repackages any changed data and sends the updates back to the provider. The provider applies the updates to the source XML document.

When the provider supplies data to an XML broker, the XML broker adds the data packet, in XML format, to an HTML document that is downloaded by a Web client. When the XML broker receives updates from the Web client, it sends the updates to the provider, which applies them to the source XML document.

Client datasets and XML brokers communicate with a provider through the IAppServer interface. In multi-tiered applications, this is the interface of the remote data module that contains the provider. To enable the remote data module to pass calls to the provider, the provider's Exported property must be true, and its Owner property must specify the remote data module.

See Also