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, setContext
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
protected 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 ContentHandler
startElement
in class DefaultHandler
SAXException
public void endElement(String uri, String name, 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
protected String currentOrNull()
Copyright © 2009-2012 jclouds. All Rights Reserved.