org.jclouds.ovf.xml
Class NetworkSectionHandler

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

public class NetworkSectionHandler
extends SectionHandler<NetworkSection,NetworkSection.Builder>

Author:
Adrian Cole

Field Summary
protected  Network.Builder networkBuilder
           
 
Fields inherited from class org.jclouds.ovf.xml.SectionHandler
builder, builderProvider, currentText
 
Constructor Summary
NetworkSectionHandler(javax.inject.Provider<NetworkSection.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

networkBuilder

protected Network.Builder networkBuilder
Constructor Detail

NetworkSectionHandler

@Inject
public NetworkSectionHandler(javax.inject.Provider<NetworkSection.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<NetworkSection,NetworkSection.Builder>


Copyright © 2009-2012 jclouds. All Rights Reserved.