org.jclouds.ovf.xml
Class DiskSectionHandler

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<DiskSection,DiskSection.Builder>
              extended by org.jclouds.ovf.xml.DiskSectionHandler
All Implemented Interfaces:
InvocationContext<ParseSax.HandlerWithResult<DiskSection>>, ContentHandler, DTDHandler, EntityResolver, ErrorHandler

public class DiskSectionHandler
extends SectionHandler<DiskSection,DiskSection.Builder>

Author:
Adrian Cole

Field Summary
protected  Disk.Builder diskBuilder
           
protected  Logger logger
           
 
Fields inherited from class org.jclouds.ovf.xml.SectionHandler
builder, builderProvider, currentText
 
Constructor Summary
DiskSectionHandler(javax.inject.Provider<DiskSection.Builder> builderProvider)
           
 
Method Summary
 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
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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:
startElement in interface ContentHandler
Overrides:
startElement in class org.xml.sax.helpers.DefaultHandler

endElement

public void endElement(String uri,
                       String localName,
                       String qName)
Specified by:
endElement in interface ContentHandler
Overrides:
endElement in class SectionHandler<DiskSection,DiskSection.Builder>


Copyright © 2009-2012 jclouds. All Rights Reserved.