org.jclouds.vcloud.binders
Class BindCPUCountToXmlPayload

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

@Singleton
public class BindCPUCountToXmlPayload
extends BindToStringPayload

Author:
Adrian Cole

Field Summary
protected  String ns
           
protected  String schema
           
 
Constructor Summary
BindCPUCountToXmlPayload(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

BindCPUCountToXmlPayload

@Inject
public BindCPUCountToXmlPayload(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.