public class VDCHandler extends ParseSax.HandlerWithResult<VDC>
| Modifier and Type | Field and Description |
|---|---|
protected long |
allocated |
protected AllocationModel |
allocationModel |
protected Map<String,ReferenceType> |
availableNetworks |
protected Capacity |
cpuCapacity |
protected StringBuilder |
currentText |
protected String |
description |
protected boolean |
isEnabled |
protected long |
limit |
protected Capacity |
memoryCapacity |
protected int |
networkQuota |
protected int |
nicQuota |
protected ReferenceType |
org |
protected long |
overhead |
protected Map<String,ReferenceType> |
resourceEntities |
protected VDCStatus |
status |
protected Capacity |
storageCapacity |
protected TaskHandler |
taskHandler |
protected List<Task> |
tasks |
protected String |
units |
protected int |
used |
protected ReferenceType |
vDC |
protected int |
vmQuota |
| Constructor and Description |
|---|
VDCHandler(TaskHandler taskHandler) |
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length) |
protected String |
currentOrNull() |
void |
endElement(String uri,
String name,
String qName) |
VDC |
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 TaskHandler taskHandler
protected StringBuilder currentText
protected ReferenceType vDC
protected VDCStatus status
protected ReferenceType org
protected String description
protected AllocationModel allocationModel
protected Capacity storageCapacity
protected Capacity cpuCapacity
protected Capacity memoryCapacity
protected String units
protected long allocated
protected long limit
protected int used
protected long overhead
protected Map<String,ReferenceType> resourceEntities
protected Map<String,ReferenceType> availableNetworks
protected int nicQuota
protected int networkQuota
protected int vmQuota
protected boolean isEnabled
@Inject public VDCHandler(TaskHandler taskHandler)
public VDC getResult()
getResult in class ParseSax.HandlerWithResult<VDC>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 name, String qName)
endElement in interface ContentHandlerendElement in class DefaultHandlerpublic void characters(char[] ch,
int start,
int length)
characters in interface ContentHandlercharacters in class DefaultHandlerprotected String currentOrNull()
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.