Package org.jclouds.ovf.xml
Class VirtualHardwareSectionHandler
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- org.jclouds.http.functions.ParseSax.HandlerWithResult<T>
-
- 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
Constructors Constructor Description VirtualHardwareSectionHandler(javax.inject.Provider<VirtualHardwareSection.Builder> builderProvider, VirtualSystemSettingDataHandler systemHandler, ResourceAllocationSettingDataHandler allocationHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcharacters(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, 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
-
-
-
-
Constructor Detail
-
VirtualHardwareSectionHandler
@Inject public VirtualHardwareSectionHandler(javax.inject.Provider<VirtualHardwareSection.Builder> builderProvider, VirtualSystemSettingDataHandler systemHandler, ResourceAllocationSettingDataHandler allocationHandler)
-
-
Method Detail
-
startElement
public void startElement(String uri, String localName, String qName, Attributes attrs)
- Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classDefaultHandler
-
endElement
public void endElement(String uri, String localName, String qName)
- 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>
-
-