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, getResult
getRequest, setContext
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
protected 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 ContentHandler
startElement
in class DefaultHandler
SAXException
public void endElement(String uri, String localName, String qName)
endElement
in interface ContentHandler
endElement
in class SectionHandler<T extends BaseVirtualSystem<T>,B extends BaseVirtualSystem.Builder<T>>
public void characters(char[] ch, int start, int length)
characters
in interface ContentHandler
characters
in class SectionHandler<T extends BaseVirtualSystem<T>,B extends BaseVirtualSystem.Builder<T>>
Copyright © 2009-2013 jclouds. All Rights Reserved.