Library: RemotingNG/SOAP
Package: SOAP
Header: Poco/RemotingNG/SOAP/Deserializer.h
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().
Direct Base Classes: Poco::RemotingNG::Deserializer
All Base Classes: Poco::RemotingNG::Deserializer, Poco::RemotingNG::SerializerBase
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
Deserializer();
Creates the Deserializer.
~Deserializer();
Destroys the Deserializer.
bool deserialize(
const std::string & name,
bool isMandatory,
Poco::Int8 & value
);
bool deserialize(
const std::string & name,
bool isMandatory,
Poco::UInt8 & value
);
bool deserialize(
const std::string & name,
bool isMandatory,
Poco::Int16 & value
);
bool deserialize(
const std::string & name,
bool isMandatory,
Poco::UInt16 & value
);
bool deserialize(
const std::string & name,
bool isMandatory,
Poco::Int32 & value
);
bool deserialize(
const std::string & name,
bool isMandatory,
Poco::UInt32 & value
);
bool deserialize(
const std::string & name,
bool isMandatory,
long & value
);
bool deserialize(
const std::string & name,
bool isMandatory,
unsigned long & value
);
bool deserialize(
const std::string & name,
bool isMandatory,
float & value
);
bool deserialize(
const std::string & name,
bool isMandatory,
double & value
);
bool deserialize(
const std::string & name,
bool isMandatory,
bool & value
);
bool deserialize(
const std::string & name,
bool isMandatory,
char & value
);
bool deserialize(
const std::string & name,
bool isMandatory,
std::string & value
);
bool deserialize(
const std::string & name,
bool isMandatory,
std::vector < char > & value
);
void deserializeMessageBegin(
const std::string & name,
Poco::RemotingNG::SerializerBase::MessageType type
);
void deserializeMessageEnd(
const std::string & name,
Poco::RemotingNG::SerializerBase::MessageType type
);
bool deserializeNullableBegin(
const std::string & name,
bool isMandatory,
bool & isNull
);
void deserializeNullableEnd(
const std::string & name
);
bool deserializeOptionalBegin(
const std::string & name,
bool isMandatory,
bool & isSpecified
);
void deserializeOptionalEnd(
const std::string & name
);
bool deserializeSequenceBegin(
const std::string & name,
bool isMandatory,
Poco::UInt32 & sizeHint
);
void deserializeSequenceEnd(
const std::string & name
);
bool deserializeStructBegin(
const std::string & name,
bool isMandatory
);
void deserializeStructEnd(
const std::string & name
);
void enableMTOM(
bool enable
);
Enable MTOM for the next messages.
Poco::RemotingNG::SerializerBase::MessageType findMessage(
std::string & name
);
bool isMTOMEnabled() const;
Returns true if and only if MTOM is enabled.
void parseContentType(
const std::string & contentType
);
If MTOM is enabled, parses the Content-Type for MIME boundary and content IDs.
void pushAttribute(
const std::string & ns,
const std::string & attrName,
bool isMandatory
);
Serializer::SOAPVersion soapVersion() const;
Returns the SOAP version (1.1 or 1.2) of the most recently processed message.
void resetImpl();
void setupImpl(
std::istream & istr
);