Zend Framework  1.12
Public Member Functions | Protected Attributes | List of all members
Zend_Service_Amazon_Ec2_Response Class Reference

Public Member Functions

 __construct (Zend_Http_Response $httpResponse)
 Creates a new high-level EC2 response object.
 
 getXPath ()
 Gets the XPath object for this response.
 
 getDocument ()
 Gets the document object for this response.
 
 getNamespace ()
 Return the current set XML Namespace.
 
 setNamespace ($namespace)
 Set a new XML Namespace.
 

Protected Attributes

 $_xmlNamespace = 'http://ec2.amazonaws.com/doc/2009-04-04/'
 XML namespace used for EC2 responses.
 

Constructor & Destructor Documentation

__construct ( Zend_Http_Response  $httpResponse)

Creates a new high-level EC2 response object.

Parameters
Zend_Http_Response$httpResponsethe HTTP response.

Member Function Documentation

getDocument ( )

Gets the document object for this response.

Returns
DOMDocument the DOM Document for this response.
getNamespace ( )

Return the current set XML Namespace.

Returns
string
getXPath ( )

Gets the XPath object for this response.

Returns
DOMXPath the XPath object for response.
setNamespace (   $namespace)

Set a new XML Namespace.

Parameters
string$namespace

Member Data Documentation

$_xmlNamespace = 'http://ec2.amazonaws.com/doc/2009-04-04/'
protected

XML namespace used for EC2 responses.