public class BaseEnvelopeHandler<V extends BaseVirtualSystem<V>,B extends BaseVirtualSystem.Builder<V>,H extends BaseVirtualSystemHandler<V,B>,E extends BaseEnvelope<V,E>,T extends BaseEnvelope.Builder<V,E>> extends ParseSax.HandlerWithResult<E>
Modifier and Type | Field and Description |
---|---|
protected T |
builder |
protected SectionHandler |
defaultSectionHandler |
protected int |
depth |
protected DiskSectionHandler |
diskHandler |
protected javax.inject.Provider<T> |
envelopeBuilderProvider |
protected SectionHandler |
extensionHandler |
protected boolean |
inDisk |
protected boolean |
inExtensionSection |
protected boolean |
inNetwork |
protected boolean |
inSection |
protected boolean |
inVirtualSystem |
protected NetworkSectionHandler |
networkHandler |
protected H |
virtualSystemHandler |
Constructor and Description |
---|
BaseEnvelopeHandler(DiskSectionHandler diskHandler,
NetworkSectionHandler networkHandler,
H virtualSystemHandler,
javax.inject.Provider<T> envelopeBuilderProvider) |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endElement(String uri,
String localName,
String qName) |
E |
getResult() |
void |
startElement(String uri,
String localName,
String qName,
Attributes attrs) |
getRequest, setContext
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
protected final H extends BaseVirtualSystemHandler<V,B> virtualSystemHandler
protected final DiskSectionHandler diskHandler
protected final NetworkSectionHandler networkHandler
protected final javax.inject.Provider<T extends BaseEnvelope.Builder<V,E>> envelopeBuilderProvider
protected T extends BaseEnvelope.Builder<V,E> builder
protected SectionHandler defaultSectionHandler
protected SectionHandler extensionHandler
protected boolean inDisk
protected boolean inNetwork
protected boolean inVirtualSystem
protected boolean inSection
protected boolean inExtensionSection
protected int depth
@Inject public BaseEnvelopeHandler(DiskSectionHandler diskHandler, NetworkSectionHandler networkHandler, H virtualSystemHandler, javax.inject.Provider<T> envelopeBuilderProvider)
public E getResult()
getResult
in class ParseSax.HandlerWithResult<E extends BaseEnvelope<V,E>>
public void startElement(String uri, String localName, String qName, Attributes attrs) throws SAXException
startElement
in interface ContentHandler
startElement
in class DefaultHandler
SAXException
public void endElement(String uri, String localName, String qName)
endElement
in interface ContentHandler
endElement
in class DefaultHandler
public void characters(char[] ch, int start, int length)
characters
in interface ContentHandler
characters
in class DefaultHandler
Copyright © 2009-2013 jclouds. All Rights Reserved.