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 DateCodec |
dateCodec |
protected com.google.common.base.Supplier<String> |
defaultRegion |
protected int |
depth |
protected int |
itemDepth |
protected Logger |
logger |
Constructor and Description |
---|
BaseAWSReservationHandler(DateCodecFactory dateCodecFactory,
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 void |
refineBuilderBeforeAddingInstance() |
void |
startElement(String uri,
String localName,
String qName,
Attributes attrs) |
getRequest, setContext
getResult
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
protected Logger logger
protected final DateCodec dateCodec
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(DateCodecFactory dateCodecFactory, 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 ContentHandler
startElement
in class DefaultHandler
SAXException
public void endElement(String uri, String name, String qName)
endElement
in interface ContentHandler
endElement
in class DefaultHandler
protected void inItem()
protected void refineBuilderBeforeAddingInstance()
protected abstract boolean endOfInstanceItem()
public void characters(char[] ch, int start, int length)
characters
in interface ContentHandler
characters
in class DefaultHandler
protected Reservation<? extends RunningInstance> newReservation()
Copyright © 2009-2013 jclouds. All Rights Reserved.