org.jclouds.rest.binders
Class BindToXMLPayload

java.lang.Object
  extended by org.jclouds.rest.binders.BindToXMLPayload
All Implemented Interfaces:
Binder

@Singleton
public class BindToXMLPayload
extends Object
implements Binder

Binds the request parameters to an XML formatted payload.

Author:
Ignasi Barrera

Field Summary
protected  XMLParser xmlParser
           
 
Constructor Summary
BindToXMLPayload(XMLParser xmlParser)
           
 
Method Summary
<R extends HttpRequest>
R
bindToRequest(R request, Object input)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xmlParser

protected final XMLParser xmlParser
Constructor Detail

BindToXMLPayload

@Inject
public BindToXMLPayload(XMLParser xmlParser)
Method Detail

bindToRequest

public <R extends HttpRequest> R bindToRequest(R request,
                                               Object input)
Specified by:
bindToRequest in interface Binder


Copyright © 2009-2012 jclouds. All Rights Reserved.