org.jclouds.trmk.vcloud_0_8.binders
Class BindNodeConfigurationToXmlPayload

java.lang.Object
  extended by org.jclouds.trmk.vcloud_0_8.binders.BindNodeConfigurationToXmlPayload
All Implemented Interfaces:
Binder, MapBinder

@Singleton
public class BindNodeConfigurationToXmlPayload
extends Object
implements MapBinder

Author:
Adrian Cole

Method Summary
<R extends HttpRequest>
R
bindToRequest(R request, Map<String,String> postParams)
          creates and binds the POST payload to the request using parameters specified.
<R extends HttpRequest>
R
bindToRequest(R request, Object input)
           
protected  String generateXml(Map<String,String> postParams)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

generateXml

protected String generateXml(Map<String,String> postParams)
                      throws ParserConfigurationException,
                             FactoryConfigurationError,
                             TransformerException
Throws:
ParserConfigurationException
FactoryConfigurationError
TransformerException

bindToRequest

public <R extends HttpRequest> R bindToRequest(R request,
                                               Map<String,String> postParams)
Description copied from interface: MapBinder
creates and binds the POST payload to the request using parameters specified.

Specified by:
bindToRequest in interface MapBinder
See Also:
PayloadParam

bindToRequest

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


Copyright © 2009-2012 jclouds. All Rights Reserved.