Soap.WSDLBind.TMessage

From RAD Studio API Documentation
Jump to: navigation, search

Soap.WSDLBind.TDocumentedXml.XMLDoc.TXMLNodeSystem.TInterfacedObjectSystem.TObjectTMessage

Delphi

TMessage = class(TDocumented, IMessage)

C++

class PASCALIMPLEMENTATION TMessage : public TDocumented

Properties

Type Visibility Source Unit Parent
class public
Soap.WSDLBind.pas
Soap.WSDLBind.hpp
Soap.WSDLBind Soap.WSDLBind

Description


TXMLNode represents a node in an XML document.

Soap.WSDLBind.TMessage inherits from Xml.XMLDoc.TXMLNode. All content below this line refers to Xml.XMLDoc.TXMLNode.

TXMLNode represents a node in an XML document.

The XML Data Binding Wizard uses TXMLNode as a base class for the classes it generates to represent nodes that have child nodes. For example, if the XML document includes the following:

<Address country="US"> 
    <Name> 
        <First> John </First> 
        <MI> Q. </MI> 
        <Last> Public </Last> 
    </Name> 
    <Street> 123 Easy Street </Street> 
    <City> Anytown </City> 
    <State> CA </State> 
</Address>

then the XML Data Binding Wizard generates TXMLNode descendants for the elements Address and Name. Child nodes and node attributes appear as properties of the TXMLNode descendant.

Note: The XML Data Binding Wizard also generates code that can create TXMLNode objects for attributes as well as element nodes. However, there are no special TXMLNode descendants for attribute nodes. Rather, each attribute is represented directly by TXMLNode.

TXMLNode implements the IXMLNode interface. Each TXMLNode descendant implements a class-specific interface that descends from IXMLNode. Typically, applications do not work directly with TXMLNode. Instead, they use the IXMLNode interface or the IXMLNode descendant that is implemented by a TXMLNode descendant.

See Also