org.jclouds.savvis.vpdc.xml
Class VMHandler

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by org.jclouds.http.functions.ParseSax.HandlerWithResult<T>
          extended by org.jclouds.ovf.xml.SectionHandler<T,B>
              extended by org.jclouds.ovf.xml.internal.BaseVirtualSystemHandler<VM,VM.Builder>
                  extended by org.jclouds.savvis.vpdc.xml.VMHandler
All Implemented Interfaces:
InvocationContext<ParseSax.HandlerWithResult<VM>>, ContentHandler, DTDHandler, EntityResolver, ErrorHandler

public class VMHandler
extends BaseVirtualSystemHandler<VM,VM.Builder>

Author:
Kedar Dave

Field Summary
 
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, OperatingSystemSectionHandler osHandler, VirtualHardwareSectionHandler hardwareHandler, ProductSectionHandler productHandler, javax.inject.Provider<NetworkSectionHandler> networkSectionHandler, javax.inject.Provider<NetworkConfigSectionHandler> networkConfigSectionHandler, javax.inject.Provider<NetworkConnectionSectionHandler> networkConnectionSectionHandler)
           
 
Method Summary
protected  void addAdditionalSection(String qName, Section additionalSection)
           
 void startElement(String uri, String localName, String qName, Attributes attrs)
           
 
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
 

Constructor Detail

VMHandler

@Inject
public VMHandler(javax.inject.Provider<VM.Builder> builderProvider,
                        OperatingSystemSectionHandler osHandler,
                        VirtualHardwareSectionHandler hardwareHandler,
                        ProductSectionHandler productHandler,
                        javax.inject.Provider<NetworkSectionHandler> networkSectionHandler,
                        javax.inject.Provider<NetworkConfigSectionHandler> networkConfigSectionHandler,
                        javax.inject.Provider<NetworkConnectionSectionHandler> networkConnectionSectionHandler)
Method Detail

startElement

public void startElement(String uri,
                         String localName,
                         String qName,
                         Attributes attrs)
                  throws SAXException
Specified by:
startElement in interface ContentHandler
Overrides:
startElement in class BaseVirtualSystemHandler<VM,VM.Builder>
Throws:
SAXException

addAdditionalSection

protected void addAdditionalSection(String qName,
                                    Section additionalSection)
Overrides:
addAdditionalSection in class BaseVirtualSystemHandler<VM,VM.Builder>


Copyright © 2009-2011 jclouds. All Rights Reserved.