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 void
characters(char[] ch, int start, int length)
void
endElement(String uri, String localName, String qName)
void
startElement(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:
startElement
in interfaceContentHandler
- Overrides:
startElement
in classDefaultHandler
-
endElement
public void endElement(String uri, String localName, String qName)
- Specified by:
endElement
in interfaceContentHandler
- Overrides:
endElement
in classSectionHandler<VirtualHardwareSection,VirtualHardwareSection.Builder>
-
characters
public void characters(char[] ch, int start, int length)
- Specified by:
characters
in interfaceContentHandler
- Overrides:
characters
in classSectionHandler<VirtualHardwareSection,VirtualHardwareSection.Builder>
-
-