org.jclouds.savvis.vpdc.binders
Class BindVMSpecsToXmlPayload

java.lang.Object
  extended by org.jclouds.rest.binders.BindToStringPayload
      extended by org.jclouds.savvis.vpdc.binders.BaseBindVMSpecToXmlPayload<Iterable<VMSpec>>
          extended by org.jclouds.savvis.vpdc.binders.BindVMSpecsToXmlPayload
All Implemented Interfaces:
Binder, MapBinder

@Singleton
public class BindVMSpecsToXmlPayload
extends BaseBindVMSpecToXmlPayload<Iterable<VMSpec>>

Author:
Adrian Cole

Constructor Summary
BindVMSpecsToXmlPayload()
           
 
Method Summary
protected  void bindSpec(Iterable<VMSpec> specs, com.jamesmurty.utils.XMLBuilder rootBuilder)
           
protected  Iterable<VMSpec> findSpecInArgsOrNull(GeneratedHttpRequest<?> gRequest)
           
 
Methods inherited from class org.jclouds.savvis.vpdc.binders.BaseBindVMSpecToXmlPayload
addOperatingSystemAndVirtualHardware, bindToRequest, bindToRequest, buildChildren, buildRoot, buildRootForName, checkSpec, generateXml, ifNullDefaultTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BindVMSpecsToXmlPayload

public BindVMSpecsToXmlPayload()
Method Detail

findSpecInArgsOrNull

protected Iterable<VMSpec> findSpecInArgsOrNull(GeneratedHttpRequest<?> gRequest)
Specified by:
findSpecInArgsOrNull in class BaseBindVMSpecToXmlPayload<Iterable<VMSpec>>

bindSpec

protected void bindSpec(Iterable<VMSpec> specs,
                        com.jamesmurty.utils.XMLBuilder rootBuilder)
                 throws ParserConfigurationException,
                        FactoryConfigurationError
Specified by:
bindSpec in class BaseBindVMSpecToXmlPayload<Iterable<VMSpec>>
Throws:
ParserConfigurationException
FactoryConfigurationError


Copyright © 2009-2011 jclouds. All Rights Reserved.