org.jclouds.vcloud.binders
Class BindMemoryToXmlPayload

java.lang.Object
  extended by org.jclouds.rest.binders.BindToStringPayload
      extended by org.jclouds.vcloud.binders.BindMemoryToXmlPayload
All Implemented Interfaces:
Binder

@Singleton
public class BindMemoryToXmlPayload
extends BindToStringPayload

Author:
Adrian Cole

Field Summary
protected  String ns
           
protected  String schema
           
 
Constructor Summary
BindMemoryToXmlPayload(BindToStringPayload stringBinder, String ns, String schema)
           
 
Method Summary
<R extends HttpRequest>
R
bindToRequest(R request, Object payload)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ns

protected final String ns

schema

protected final String schema
Constructor Detail

BindMemoryToXmlPayload

@Inject
public BindMemoryToXmlPayload(BindToStringPayload stringBinder,
                                     @Named(value="jclouds.vcloud.xml.ns")
                                     String ns,
                                     @Named(value="jclouds.vcloud.xml.schema")
                                     String schema)
Method Detail

bindToRequest

public <R extends HttpRequest> R bindToRequest(R request,
                                               Object payload)
Specified by:
bindToRequest in interface Binder
Overrides:
bindToRequest in class BindToStringPayload


Copyright © 2009-2012 jclouds. All Rights Reserved.