Package org.jclouds.ovf.xml
Class VirtualHardwareSectionHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.jclouds.http.functions.ParseSax.HandlerWithResult<VirtualHardwareSection>
org.jclouds.ovf.xml.SectionHandler<VirtualHardwareSection,VirtualHardwareSection.Builder>
org.jclouds.ovf.xml.VirtualHardwareSectionHandler
- All Implemented Interfaces:
InvocationContext<ParseSax.HandlerWithResult<VirtualHardwareSection>>,ContentHandler,DTDHandler,EntityResolver,ErrorHandler
public class VirtualHardwareSectionHandler
extends SectionHandler<VirtualHardwareSection,VirtualHardwareSection.Builder>
-
Field Summary
Fields inherited from class org.jclouds.ovf.xml.SectionHandler
builder, builderProvider, currentText -
Constructor Summary
ConstructorsConstructorDescriptionVirtualHardwareSectionHandler(javax.inject.Provider<VirtualHardwareSection.Builder> builderProvider, VirtualSystemSettingDataHandler systemHandler, ResourceAllocationSettingDataHandler allocationHandler) -
Method Summary
Modifier and TypeMethodDescriptionvoidcharacters(char[] ch, int start, int length) voidendElement(String uri, String localName, String qName) voidstartElement(String uri, String localName, String qName, Attributes attrs) Methods inherited from class org.jclouds.ovf.xml.SectionHandler
create, getResultMethods inherited from class org.jclouds.http.functions.ParseSax.HandlerWithResult
getRequest, setContextMethods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
VirtualHardwareSectionHandler
@Inject public VirtualHardwareSectionHandler(javax.inject.Provider<VirtualHardwareSection.Builder> builderProvider, VirtualSystemSettingDataHandler systemHandler, ResourceAllocationSettingDataHandler allocationHandler)
-
-
Method Details
-
startElement
- Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classDefaultHandler
-
endElement
- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classSectionHandler<VirtualHardwareSection,VirtualHardwareSection.Builder>
-
characters
public void characters(char[] ch, int start, int length) - Specified by:
charactersin interfaceContentHandler- Overrides:
charactersin classSectionHandler<VirtualHardwareSection,VirtualHardwareSection.Builder>
-