Class XmlVisitor
Location visitor used to serialize XML bodies
- Guzzle\Service\Command\LocationVisitor\Request\AbstractRequestVisitor implements Guzzle\Service\Command\LocationVisitor\Request\RequestVisitorInterface
- Guzzle\Service\Command\LocationVisitor\Request\XmlVisitor
Namespace: Guzzle\Service\Command\LocationVisitor\Request
Located at src/Guzzle/Service/Command/LocationVisitor/Request/XmlVisitor.php
Located at src/Guzzle/Service/Command/LocationVisitor/Request/XmlVisitor.php
public
|
|
public
|
#
setContentTypeHeader( string $header )
Change the content-type header that is added when XML is found |
public
|
#
visit(
|
public
|
#
after(
|
protected
|
#
createRootElement(
Create the root XML element to use with a request |
protected
|
#
addXml(
Recursively build the XML body |
protected
|
#
writeAttribute(
Write an attribute with namespace if used |
protected
|
#
writeElement(
Write an element with namespace if used |
protected
|
|
protected
string
|
|
protected
|
#
addXmlArray(
Add an array to the XML |
protected
|
#
addXmlObject(
Add an object to the XML |
prepareValue(),
resolveRecursively()
|
protected
|
$data
Data object for persisting XML data |
|
protected
boolean
|
$contentType
Content-Type header added when XML is found |
#
'application/xml'
|