Soap.InvokeRegistry.SerializationOptions

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

SerializationOptions  = (xoHolderClass,
xoAttributeOnLastMember,
xoInlineArrays,
xoLiteralParam,
xoSimpleTypeWrapper,
xoOption6, xoOption7,
xoOption8, xoOption9,
xoOptionA, xoOptionB,
xoOptionC, xoOptionD,
xoOptionE, xoOptionF,
xoOptionG, xoOptionH, xoOptionI);

C++

enum DECLSPEC_DENUM SerializationOptions : unsigned char { xoHolderClass, xoAttributeOnLastMember, xoInlineArrays, xoLiteralParam, xoSimpleTypeWrapper, xoOption6, xoOption7, xoOption8, xoOption9, xoOptionA, xoOptionB, xoOptionC, xoOptionD, xoOptionE, xoOptionF, xoOptionG, xoOptionH, xoOptionI };

Properties

Type Visibility Source Unit Parent
enum public
Soap.InvokeRegistry.pas
Soap.InvokeRegistry.hpp
Soap.InvokeRegistry Soap.InvokeRegistry

Description

SerializationOptions and TSerializationOptions are flags that customize how to convert a remotable object to or from its SOAP representation.

TSerializationOptions is a set of SerializationOptions values. SerializationOptions values are flags that can be registered with an invokable interface to indicate how it should be called. The following table lists the possible values.



Value Meaning

xoHolderClass

The remotable object corresponds to a "holder" class. That is, the SOAP representation does not include a node for the class itself, just for its members. This is used when a type that would otherwise not require a remotable class uses a feature only available on remotable classes (such as attributes).

xoAttributeOnLastMember

Attributes of the remotable class are stored on the last member of the class that maps to an element node rather than on the node that corresponds to the class itself. This is necessary if a holder class has attributes.

xoInlineArrays

If the remotable class contains class members that are array types, the encoding of those members omits the type name of the array types. This results in more efficient encoding of holder classes that represent array types.

xoLiteralParam

The remotable class represents one of the two top-level nodes (the input or output value) of a document-literal encoding. The class is treated as a holder class if it is used as the direct input or output parameter of a function.

xoSimpleTypeWrapper

The remotable class is a wrapper for a simple type such as a string or integer. The value that the class represents is represented as a single published property of the remotable class.

xoOption5 - xoOptionI

The remaining options are reserved for future use.