org.jclouds.ovf.xml
Class SectionHandler<T extends Section<T>,B extends Section.Builder<T>>
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.jclouds.http.functions.ParseSax.HandlerWithResult<T>
org.jclouds.ovf.xml.SectionHandler<T,B>
- All Implemented Interfaces:
- org.jclouds.rest.InvocationContext<org.jclouds.http.functions.ParseSax.HandlerWithResult<T>>, ContentHandler, DTDHandler, EntityResolver, ErrorHandler
- Direct Known Subclasses:
- BaseVirtualSystemHandler, DeploymentOptionSectionHandler, DiskSectionHandler, NetworkSectionHandler, OperatingSystemSectionHandler, ProductSectionHandler, VirtualHardwareSectionHandler
public class SectionHandler<T extends Section<T>,B extends Section.Builder<T>>
- extends org.jclouds.http.functions.ParseSax.HandlerWithResult<T>
|
Constructor Summary |
SectionHandler(javax.inject.Provider<B> builderProvider)
|
| 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, startElement, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
builderProvider
protected final javax.inject.Provider<? extends Section.Builder<T extends Section<T>>> builderProvider
currentText
protected StringBuilder currentText
builder
protected B extends Section.Builder<T> builder
SectionHandler
public SectionHandler(javax.inject.Provider<B> builderProvider)
create
public static SectionHandler create()
getResult
public T getResult()
- Specified by:
getResult in class org.jclouds.http.functions.ParseSax.HandlerWithResult<T extends Section<T>>
endElement
public void endElement(String uri,
String localName,
String qName)
- Specified by:
endElement in interface ContentHandler- Overrides:
endElement in class DefaultHandler
characters
public void characters(char[] ch,
int start,
int length)
- Specified by:
characters in interface ContentHandler- Overrides:
characters in class DefaultHandler
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.