public class CreateVolumeResponseHandler extends ParseSax.HandlerForGeneratedRequestWithResult<Volume>
Modifier and Type | Field and Description |
---|---|
protected Set<Attachment> |
attachments |
protected Attachment.Status |
attachmentStatus |
protected Date |
attachTime |
protected String |
availabilityZone |
protected Date |
createTime |
protected StringBuilder |
currentText |
protected DateCodec |
dateCodec |
protected com.google.common.base.Supplier<String> |
defaultRegion |
protected String |
device |
protected String |
id |
protected boolean |
inAttachmentSet |
protected String |
instanceId |
protected String |
region |
protected com.google.common.base.Supplier<Map<String,com.google.common.base.Supplier<Set<String>>>> |
regionToZonesSupplier |
protected int |
size |
protected String |
snapshotId |
protected String |
volumeId |
protected Volume.Status |
volumeStatus |
protected com.google.common.base.Supplier<Set<String>> |
zonesSupplier |
Modifier | Constructor and Description |
---|---|
protected |
CreateVolumeResponseHandler(DateCodecFactory dateCodecFactory,
com.google.common.base.Supplier<String> defaultRegion,
com.google.common.base.Supplier<Map<String,com.google.common.base.Supplier<Set<String>>>> regionToZonesSupplier,
com.google.common.base.Supplier<Set<String>> zonesSupplier) |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endElement(String uri,
String name,
String qName) |
static String |
findAvailabilityZoneInArgsOrNull(GeneratedHttpRequest gRequest,
Set<String> zones) |
Volume |
getResult() |
CreateVolumeResponseHandler |
setContext(HttpRequest request) |
void |
startElement(String uri,
String name,
String qName,
Attributes attrs) |
getRequest
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
protected final DateCodec dateCodec
protected final com.google.common.base.Supplier<String> defaultRegion
protected final com.google.common.base.Supplier<Map<String,com.google.common.base.Supplier<Set<String>>>> regionToZonesSupplier
protected StringBuilder currentText
protected String id
protected int size
protected String snapshotId
protected String availabilityZone
protected Volume.Status volumeStatus
protected Date createTime
protected Set<Attachment> attachments
protected String volumeId
protected String instanceId
protected String device
protected Attachment.Status attachmentStatus
protected Date attachTime
protected boolean inAttachmentSet
protected String region
@Inject protected CreateVolumeResponseHandler(DateCodecFactory dateCodecFactory, com.google.common.base.Supplier<String> defaultRegion, com.google.common.base.Supplier<Map<String,com.google.common.base.Supplier<Set<String>>>> regionToZonesSupplier, com.google.common.base.Supplier<Set<String>> zonesSupplier)
public Volume getResult()
getResult
in class ParseSax.HandlerWithResult<Volume>
public void startElement(String uri, String name, String qName, Attributes attrs)
startElement
in interface ContentHandler
startElement
in class DefaultHandler
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
public CreateVolumeResponseHandler setContext(HttpRequest request)
setContext
in interface InvocationContext<ParseSax.HandlerWithResult<Volume>>
setContext
in class ParseSax.HandlerForGeneratedRequestWithResult<Volume>
public static String findAvailabilityZoneInArgsOrNull(GeneratedHttpRequest gRequest, Set<String> zones)
Copyright © 2009-2013 jclouds. All Rights Reserved.