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, setContextendDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningprotected 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 ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void endElement(String uri, String localName, String qName)
endElement in interface ContentHandlerendElement in class org.xml.sax.helpers.DefaultHandlerpublic void characters(char[] ch,
int start,
int length)
characters in interface ContentHandlercharacters in class org.xml.sax.helpers.DefaultHandlerCopyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.