Detailed Description

SoapFormat implements the SOAP request/response format.

Nodes are serialized into an array (the nusoap library creates the XML).

Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 23 of file SoapFormat.php.

+ Inheritance diagram for SoapFormat:

Public Member Functions

 __construct (NodeSerializer $serializer)
 
 getMimeType (Response $response=null)
 
 isCached (Response $response)
 
 getCacheDate (Response $response)
 
 setSerializer (NodeSerializer $serializer)
 
- Public Member Functions inherited from AbstractFormat
 deserialize (Request $request)
 
 serialize (Response $response)
 
 getResponseHeaders (Response $response)
 

Protected Member Functions

 isSerializedNode ($value)
 
 serializeNode ($value)
 
 deserializeNode ($value)
 
- Protected Member Functions inherited from HierarchicalFormat
 deserializeValues (Request $request)
 
 serializeValues (Response $response)
 
 isDeserializedNode ($value)
 
- Protected Member Functions inherited from AbstractFormat
 beforeDeserialize (Request $request)
 
 afterDeserialize (Request $request)
 
 beforeSerialize (Response $response)
 
 afterSerialize (Response $response)
 
 getNode (ObjectId $oid)
 
 filterValue ($value, AttributeDescription $attribute)
 

Protected Attributes

 $serializer = null
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( NodeSerializer  $serializer)

Constructor.

Parameters
$serializerNodeSerializer instance

Definition at line 31 of file SoapFormat.php.

Member Function Documentation

◆ getMimeType()

getMimeType ( Response  $response = null)
See also
Format::getMimeType()

Implements Format.

Definition at line 38 of file SoapFormat.php.

◆ isCached()

isCached ( Response  $response)
See also
Format::isCached()

Implements Format.

Definition at line 45 of file SoapFormat.php.

◆ getCacheDate()

getCacheDate ( Response  $response)
See also
Format::getCacheDate()

Implements Format.

Definition at line 52 of file SoapFormat.php.

◆ setSerializer()

setSerializer ( NodeSerializer  $serializer)

Set the NodeSerializer instance to use.

Parameters
$serializerNodeSerializer

Definition at line 60 of file SoapFormat.php.

◆ isSerializedNode()

isSerializedNode (   $value)
protected
See also
HierarchicalFormat::isSerializedNode()

Reimplemented from HierarchicalFormat.

Definition at line 67 of file SoapFormat.php.

◆ serializeNode()

serializeNode (   $value)
protected
See also
HierarchicalFormat::serializeNode()

Reimplemented from HierarchicalFormat.

Definition at line 74 of file SoapFormat.php.

◆ deserializeNode()

deserializeNode (   $value)
protected
See also
HierarchicalFormat::deserializeNode()

Reimplemented from HierarchicalFormat.

Definition at line 82 of file SoapFormat.php.

Member Data Documentation

◆ $serializer

$serializer = null
protected

Definition at line 25 of file SoapFormat.php.