Poco::RemotingNG::SOAP

class Deserializer

Library: RemotingNG/SOAP
Package: SOAP
Header: Poco/RemotingNG/SOAP/Deserializer.h

Description

The Deserializer implementation for the SOAP Transport.

For more information, please see the Serializer documentation.

The deserializer can also be used to deserialize plain XML. To do so, instead of deserializeMessageBegin() and deserializeMessageEnd(), call deserializeStructBegin() and deserializeStructEnd(), respectively, at the root level, after calling setup().

Inheritance

Direct Base Classes: Poco::RemotingNG::Deserializer

All Base Classes: Poco::RemotingNG::Deserializer, Poco::RemotingNG::SerializerBase

Member Summary

Member Functions: deserialize, deserializeMessageBegin, deserializeMessageEnd, deserializeNullableBegin, deserializeNullableEnd, deserializeOptionalBegin, deserializeOptionalEnd, deserializeSequenceBegin, deserializeSequenceEnd, deserializeStructBegin, deserializeStructEnd, enableMTOM, findMessage, isMTOMEnabled, parseContentType, pushAttribute, resetImpl, setupImpl, soapVersion

Inherited Functions: clearProperties, deserialize, deserializeMessageBegin, deserializeMessageEnd, deserializeNullableBegin, deserializeNullableEnd, deserializeOptionalBegin, deserializeOptionalEnd, deserializeSequenceBegin, deserializeSequenceEnd, deserializeStructBegin, deserializeStructEnd, findMessage, getProperty, hasProperty, popProperty, pushAttribute, pushProperty, reset, resetImpl, setup, setupImpl

Constructors

Deserializer

Deserializer();

Creates the Deserializer.

Destructor

~Deserializer virtual

~Deserializer();

Destroys the Deserializer.

Member Functions

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    Poco::Int8 & value
);

See also: Poco::RemotingNG::Deserializer::deserialize()

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    Poco::UInt8 & value
);

See also: Poco::RemotingNG::Deserializer::deserialize()

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    Poco::Int16 & value
);

See also: Poco::RemotingNG::Deserializer::deserialize()

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    Poco::UInt16 & value
);

See also: Poco::RemotingNG::Deserializer::deserialize()

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    Poco::Int32 & value
);

See also: Poco::RemotingNG::Deserializer::deserialize()

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    Poco::UInt32 & value
);

See also: Poco::RemotingNG::Deserializer::deserialize()

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    long & value
);

See also: Poco::RemotingNG::Deserializer::deserialize()

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    unsigned long & value
);

See also: Poco::RemotingNG::Deserializer::deserialize()

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    float & value
);

See also: Poco::RemotingNG::Deserializer::deserialize()

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    double & value
);

See also: Poco::RemotingNG::Deserializer::deserialize()

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    bool & value
);

See also: Poco::RemotingNG::Deserializer::deserialize()

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    char & value
);

See also: Poco::RemotingNG::Deserializer::deserialize()

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    std::string & value
);

See also: Poco::RemotingNG::Deserializer::deserialize()

deserialize virtual

bool deserialize(
    const std::string & name,
    bool isMandatory,
    std::vector < char > & value
);

See also: Poco::RemotingNG::Deserializer::deserialize()

deserializeMessageBegin

void deserializeMessageBegin(
    const std::string & name,
    Poco::RemotingNG::SerializerBase::MessageType type
);

deserializeMessageEnd

void deserializeMessageEnd(
    const std::string & name,
    Poco::RemotingNG::SerializerBase::MessageType type
);

deserializeNullableBegin virtual

bool deserializeNullableBegin(
    const std::string & name,
    bool isMandatory,
    bool & isNull
);

See also: Poco::RemotingNG::Deserializer::deserializeNullableBegin()

deserializeNullableEnd virtual

void deserializeNullableEnd(
    const std::string & name
);

See also: Poco::RemotingNG::Deserializer::deserializeNullableEnd()

deserializeOptionalBegin virtual

bool deserializeOptionalBegin(
    const std::string & name,
    bool isMandatory,
    bool & isSpecified
);

See also: Poco::RemotingNG::Deserializer::deserializeOptionalBegin()

deserializeOptionalEnd virtual

void deserializeOptionalEnd(
    const std::string & name
);

See also: Poco::RemotingNG::Deserializer::deserializeOptionalEnd()

deserializeSequenceBegin virtual

bool deserializeSequenceBegin(
    const std::string & name,
    bool isMandatory,
    Poco::UInt32 & sizeHint
);

See also: Poco::RemotingNG::Deserializer::deserializeSequenceBegin()

deserializeSequenceEnd virtual

void deserializeSequenceEnd(
    const std::string & name
);

See also: Poco::RemotingNG::Deserializer::deserializeSequenceEnd()

deserializeStructBegin virtual

bool deserializeStructBegin(
    const std::string & name,
    bool isMandatory
);

See also: Poco::RemotingNG::Deserializer::deserializeStructBegin()

deserializeStructEnd virtual

void deserializeStructEnd(
    const std::string & name
);

See also: Poco::RemotingNG::Deserializer::deserializeStructEnd()

enableMTOM

void enableMTOM(
    bool enable
);

Enable MTOM for the next messages.

findMessage

Poco::RemotingNG::SerializerBase::MessageType findMessage(
    std::string & name
);

isMTOMEnabled

bool isMTOMEnabled() const;

Returns true if and only if MTOM is enabled.

parseContentType

void parseContentType(
    const std::string & contentType
);

If MTOM is enabled, parses the Content-Type for MIME boundary and content IDs.

pushAttribute virtual

void pushAttribute(
    const std::string & ns,
    const std::string & attrName,
    bool isMandatory
);

See also: Poco::RemotingNG::Deserializer::pushAttribute()

soapVersion inline

Serializer::SOAPVersion soapVersion() const;

Returns the SOAP version (1.1 or 1.2) of the most recently processed message.

resetImpl protected virtual

void resetImpl();

See also: Poco::RemotingNG::SerializerBase::resetImpl()

setupImpl protected virtual

void setupImpl(
    std::istream & istr
);

See also: Poco::RemotingNG::Deserializer::setupImpl()