public class CreateVolumeResponseHandler extends ParseSax.HandlerForGeneratedRequestWithResult<Volume>
Modifier and Type | Field and Description |
---|---|
protected DateService |
dateService |
protected Logger |
logger |
protected com.google.common.base.Supplier<Map<String,com.google.common.base.Supplier<Set<String>>>> |
regionToZonesSupplier |
protected com.google.common.base.Supplier<Set<String>> |
zonesSupplier |
Constructor and Description |
---|
CreateVolumeResponseHandler() |
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 Logger logger
@Inject protected DateService dateService
@Inject protected com.google.common.base.Supplier<Map<String,com.google.common.base.Supplier<Set<String>>>> regionToZonesSupplier
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-2012 jclouds. All Rights Reserved.