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:
org.jclouds.rest.Binder

@Singleton
public class BindMemoryToXmlPayload
extends org.jclouds.rest.binders.BindToStringPayload

Author:
Adrian Cole

Field Summary
protected  String ns
           
protected  String schema
           
 
Constructor Summary
BindMemoryToXmlPayload(org.jclouds.rest.binders.BindToStringPayload stringBinder, String ns, String schema)
           
 
Method Summary
<R extends org.jclouds.http.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(org.jclouds.rest.binders.BindToStringPayload stringBinder,
                                     @Named(value="jclouds.vcloud.xml.ns")
                                     String ns,
                                     @Named(value="jclouds.vcloud.xml.schema")
                                     String schema)
Method Detail

bindToRequest

public <R extends org.jclouds.http.HttpRequest> R bindToRequest(R request,
                                                                Object payload)
Specified by:
bindToRequest in interface org.jclouds.rest.Binder
Overrides:
bindToRequest in class org.jclouds.rest.binders.BindToStringPayload


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.