public abstract class BaseAWSReservationHandler<T> extends ParseSax.HandlerForGeneratedRequestWithResult<T>
| Modifier and Type | Field and Description |
|---|---|
protected AWSRunningInstance.Builder |
builder |
protected com.google.inject.Provider<AWSRunningInstance.Builder> |
builderProvider |
protected StringBuilder |
currentText |
protected DateService |
dateService |
protected com.google.common.base.Supplier<String> |
defaultRegion |
protected int |
depth |
protected int |
itemDepth |
protected Logger |
logger |
| Constructor and Description |
|---|
BaseAWSReservationHandler(DateService dateService,
com.google.common.base.Supplier<String> defaultRegion,
com.google.inject.Provider<AWSRunningInstance.Builder> builderProvider) |
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endElement(String uri,
String name,
String qName) |
protected abstract boolean |
endOfInstanceItem() |
protected void |
inItem() |
protected Reservation<? extends RunningInstance> |
newReservation() |
protected Date |
parseDate() |
protected void |
refineBuilderBeforeAddingInstance() |
void |
startElement(String uri,
String localName,
String qName,
Attributes attrs) |
getRequest, setContextgetResultendDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningprotected Logger logger
protected final DateService dateService
protected final com.google.common.base.Supplier<String> defaultRegion
protected final com.google.inject.Provider<AWSRunningInstance.Builder> builderProvider
protected StringBuilder currentText
protected AWSRunningInstance.Builder builder
protected int itemDepth
protected int depth
@Inject public BaseAWSReservationHandler(DateService dateService, com.google.common.base.Supplier<String> defaultRegion, com.google.inject.Provider<AWSRunningInstance.Builder> builderProvider)
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 DefaultHandlerprotected Date parseDate()
protected void inItem()
protected void refineBuilderBeforeAddingInstance()
protected abstract boolean endOfInstanceItem()
public void characters(char[] ch,
int start,
int length)
characters in interface ContentHandlercharacters in class DefaultHandlerprotected Reservation<? extends RunningInstance> newReservation()
Copyright © 2009-2012 jclouds. All Rights Reserved.