public class BaseVirtualSystemHandler<T extends BaseVirtualSystem<T>,B extends BaseVirtualSystem.Builder<T>> extends SectionHandler<T,B>
| Modifier and Type | Field and Description |
|---|---|
protected SectionHandler |
defaultSectionHandler |
protected SectionHandler |
extensionHandler |
protected Map<String,javax.inject.Provider<? extends SectionHandler>> |
extensionHandlers |
builder, builderProvider, currentText| Constructor and Description |
|---|
BaseVirtualSystemHandler(javax.inject.Provider<B> builderProvider,
OperatingSystemSectionHandler osHandler,
VirtualHardwareSectionHandler hardwareHandler,
ProductSectionHandler productHandler) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAdditionalSection(String qName,
Section additionalSection) |
void |
characters(char[] ch,
int start,
int length) |
void |
endElement(String uri,
String localName,
String qName) |
protected void |
setExtensionHandlers(Map<String,javax.inject.Provider<? extends SectionHandler>> extensionHandlers) |
void |
startElement(String uri,
String localName,
String qName,
Attributes attrs) |
create, getResultgetRequest, setContextendDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningprotected SectionHandler defaultSectionHandler
protected Map<String,javax.inject.Provider<? extends SectionHandler>> extensionHandlers
protected SectionHandler extensionHandler
@Inject public BaseVirtualSystemHandler(javax.inject.Provider<B> builderProvider, OperatingSystemSectionHandler osHandler, VirtualHardwareSectionHandler hardwareHandler, ProductSectionHandler productHandler)
@Inject(optional=true)
protected void setExtensionHandlers(@Named(value="VirtualSystem")
Map<String,javax.inject.Provider<? extends SectionHandler>> extensionHandlers)
public void startElement(String uri, String localName, String qName, Attributes attrs) throws SAXException
startElement in interface ContentHandlerstartElement in class DefaultHandlerSAXExceptionpublic void endElement(String uri, String localName, String qName)
endElement in interface ContentHandlerendElement in class SectionHandler<T extends BaseVirtualSystem<T>,B extends BaseVirtualSystem.Builder<T>>public void characters(char[] ch,
int start,
int length)
characters in interface ContentHandlercharacters in class SectionHandler<T extends BaseVirtualSystem<T>,B extends BaseVirtualSystem.Builder<T>>Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.