Package 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:
InvocationContext<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 ParseSax.HandlerWithResult<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Bprotected final javax.inject.Provider<? extends Section.Builder<T>> protected StringBuilder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcharacters(char[] ch, int start, int length) static SectionHandlercreate()voidendElement(String uri, String localName, String qName) Methods inherited from class org.jclouds.http.functions.ParseSax.HandlerWithResult
getRequest, setContextMethods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warningMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandler
declaration
-
Field Details
-
builderProvider
protected final javax.inject.Provider<? extends Section.Builder<T extends Section<T>>> builderProvider -
currentText
-
builder
-
-
Constructor Details
-
SectionHandler
-
-
Method Details
-
create
-
getResult
- Specified by:
getResultin classParseSax.HandlerWithResult<T extends Section<T>>
-
endElement
- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classDefaultHandler
-
characters
public void characters(char[] ch, int start, int length) - Specified by:
charactersin interfaceContentHandler- Overrides:
charactersin classDefaultHandler
-