org.jclouds.savvis.vpdc.xml
Class VMHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.jclouds.http.functions.ParseSax.HandlerWithResult<T>
org.jclouds.ovf.xml.SectionHandler<T,B>
org.jclouds.ovf.xml.internal.BaseVirtualSystemHandler<VM,VM.Builder>
org.jclouds.savvis.vpdc.xml.VMHandler
- All Implemented Interfaces:
- org.jclouds.rest.InvocationContext<org.jclouds.http.functions.ParseSax.HandlerWithResult<VM>>, ContentHandler, DTDHandler, EntityResolver, ErrorHandler
public class VMHandler
- extends org.jclouds.ovf.xml.internal.BaseVirtualSystemHandler<VM,VM.Builder>
- Author:
- Kedar Dave
| Fields inherited from class org.jclouds.ovf.xml.internal.BaseVirtualSystemHandler |
defaultSectionHandler, extensionHandler, extensionHandlers |
| Fields inherited from class org.jclouds.ovf.xml.SectionHandler |
builder, builderProvider, currentText |
|
Constructor Summary |
VMHandler(javax.inject.Provider<VM.Builder> builderProvider,
org.jclouds.ovf.xml.OperatingSystemSectionHandler osHandler,
org.jclouds.ovf.xml.VirtualHardwareSectionHandler hardwareHandler,
org.jclouds.ovf.xml.ProductSectionHandler productHandler,
javax.inject.Provider<org.jclouds.ovf.xml.NetworkSectionHandler> networkSectionHandler,
javax.inject.Provider<NetworkConfigSectionHandler> networkConfigSectionHandler,
javax.inject.Provider<NetworkConnectionSectionHandler> networkConnectionSectionHandler)
|
| Methods inherited from class org.jclouds.ovf.xml.internal.BaseVirtualSystemHandler |
characters, endElement, setExtensionHandlers |
| Methods inherited from class org.jclouds.ovf.xml.SectionHandler |
create, getResult |
| Methods inherited from class org.jclouds.http.functions.ParseSax.HandlerWithResult |
getRequest, setContext |
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VMHandler
@Inject
public VMHandler(javax.inject.Provider<VM.Builder> builderProvider,
org.jclouds.ovf.xml.OperatingSystemSectionHandler osHandler,
org.jclouds.ovf.xml.VirtualHardwareSectionHandler hardwareHandler,
org.jclouds.ovf.xml.ProductSectionHandler productHandler,
javax.inject.Provider<org.jclouds.ovf.xml.NetworkSectionHandler> networkSectionHandler,
javax.inject.Provider<NetworkConfigSectionHandler> networkConfigSectionHandler,
javax.inject.Provider<NetworkConnectionSectionHandler> networkConnectionSectionHandler)
startElement
public void startElement(String uri,
String localName,
String qName,
Attributes attrs)
throws SAXException
- Specified by:
startElement in interface ContentHandler- Overrides:
startElement in class org.jclouds.ovf.xml.internal.BaseVirtualSystemHandler<VM,VM.Builder>
- Throws:
SAXException
addAdditionalSection
protected void addAdditionalSection(String qName,
org.jclouds.ovf.Section additionalSection)
- Overrides:
addAdditionalSection in class org.jclouds.ovf.xml.internal.BaseVirtualSystemHandler<VM,VM.Builder>
Copyright © 2009-2011 jclouds. All Rights Reserved.