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 B
protected final jakarta.inject.Provider
<? extends Section.Builder<T>> protected StringBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
characters
(char[] ch, int start, int length) static SectionHandler
create()
void
endElement
(String uri, String localName, String qName) 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
Methods inherited from interface org.xml.sax.ContentHandler
declaration
-
Field Details
-
builderProvider
protected final jakarta.inject.Provider<? extends Section.Builder<T extends Section<T>>> builderProvider -
currentText
-
builder
-
-
Constructor Details
-
SectionHandler
-
-
Method Details
-
create
-
getResult
- Specified by:
getResult
in classParseSax.HandlerWithResult<T extends Section<T>>
-
endElement
- Specified by:
endElement
in interfaceContentHandler
- Overrides:
endElement
in classDefaultHandler
-
characters
public void characters(char[] ch, int start, int length) - Specified by:
characters
in interfaceContentHandler
- Overrides:
characters
in classDefaultHandler
-