Package org.jclouds.ovf.xml
Class DiskSectionHandler
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- org.jclouds.http.functions.ParseSax.HandlerWithResult<T>
-
- org.jclouds.ovf.xml.SectionHandler<DiskSection,DiskSection.Builder>
-
- org.jclouds.ovf.xml.DiskSectionHandler
-
- All Implemented Interfaces:
InvocationContext<ParseSax.HandlerWithResult<DiskSection>>,ContentHandler,DTDHandler,EntityResolver,ErrorHandler
public class DiskSectionHandler extends SectionHandler<DiskSection,DiskSection.Builder>
-
-
Field Summary
Fields Modifier and Type Field Description protected Disk.BuilderdiskBuilderprotected Loggerlogger-
Fields inherited from class org.jclouds.ovf.xml.SectionHandler
builder, builderProvider, currentText
-
-
Constructor Summary
Constructors Constructor Description DiskSectionHandler(javax.inject.Provider<DiskSection.Builder> builderProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
characters, 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
-
-
-
-
Field Detail
-
logger
protected Logger logger
-
diskBuilder
protected Disk.Builder diskBuilder
-
-
Constructor Detail
-
DiskSectionHandler
@Inject public DiskSectionHandler(javax.inject.Provider<DiskSection.Builder> builderProvider)
-
-
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<DiskSection,DiskSection.Builder>
-
-