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

Protected Attributes

 $serializer = null
 

Constructor & Destructor Documentation

__construct ( NodeSerializer  $serializer)

Constructor.

Parameters
$serializerNodeSerializer instance

Definition at line 31 of file SoapFormat.php.

Member Function Documentation

getMimeType ( )
See also
Format::getMimeType()

Implements Format.

Definition at line 38 of file SoapFormat.php.

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

Implements Format.

Definition at line 45 of file SoapFormat.php.

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

Implements Format.

Definition at line 52 of file SoapFormat.php.

setSerializer ( NodeSerializer  $serializer)

Set the NodeSerializer instance to use.

Parameters
$serializerNodeSerializer

Definition at line 60 of file SoapFormat.php.

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

Definition at line 67 of file SoapFormat.php.

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

Definition at line 74 of file SoapFormat.php.

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

Definition at line 82 of file SoapFormat.php.

Member Data Documentation

$serializer = null
protected

Definition at line 25 of file SoapFormat.php.