@Singleton public class BindVAppConfigurationToXmlPayload extends Object implements org.jclouds.rest.MapBinder, com.google.common.base.Function<Object,URI>
| Modifier and Type | Field and Description |
|---|---|
protected String |
apiVersion |
protected String |
ns |
protected String |
schema |
protected org.jclouds.rest.binders.BindToStringPayload |
stringBinder |
| Constructor and Description |
|---|
BindVAppConfigurationToXmlPayload(String apiVersion,
org.jclouds.rest.binders.BindToStringPayload stringBinder,
String ns,
String schema) |
| Modifier and Type | Method and Description |
|---|---|
URI |
apply(Object from) |
<R extends org.jclouds.http.HttpRequest> |
bindToRequest(R request,
Map<String,Object> postParams) |
<R extends org.jclouds.http.HttpRequest> |
bindToRequest(R request,
Object input) |
protected com.jamesmurty.utils.XMLBuilder |
buildRoot(VApp vApp,
String name) |
protected VAppConfiguration |
findConfigInArgsOrNull(org.jclouds.rest.internal.GeneratedHttpRequest gRequest) |
protected VApp |
findVAppInArgsOrNull(org.jclouds.rest.internal.GeneratedHttpRequest gRequest) |
protected String |
generateXml(VApp vApp,
VAppConfiguration configuration) |
protected String |
ifNullDefaultTo(String value,
String defaultValue) |
protected final String ns
protected final String schema
protected final org.jclouds.rest.binders.BindToStringPayload stringBinder
protected final String apiVersion
public <R extends org.jclouds.http.HttpRequest> R bindToRequest(R request,
Map<String,Object> postParams)
bindToRequest in interface org.jclouds.rest.MapBinderprotected String generateXml(VApp vApp, VAppConfiguration configuration) throws ParserConfigurationException, FactoryConfigurationError, TransformerException
protected com.jamesmurty.utils.XMLBuilder buildRoot(VApp vApp, String name) throws ParserConfigurationException, FactoryConfigurationError
protected VApp findVAppInArgsOrNull(org.jclouds.rest.internal.GeneratedHttpRequest gRequest)
protected VAppConfiguration findConfigInArgsOrNull(org.jclouds.rest.internal.GeneratedHttpRequest gRequest)
public <R extends org.jclouds.http.HttpRequest> R bindToRequest(R request,
Object input)
bindToRequest in interface org.jclouds.rest.BinderCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.