public abstract class BaseAWSReservationHandler<T> extends ParseSax.HandlerForGeneratedRequestWithResult<T>
| Modifier and Type | Field and Description |
|---|---|
protected AWSRunningInstance.Builder |
builder |
protected StringBuilder |
currentText |
protected DateService |
dateService |
protected com.google.common.base.Supplier<String> |
defaultRegion |
protected int |
itemDepth |
protected Logger |
logger |
| Modifier | Constructor and Description |
|---|---|
protected |
BaseAWSReservationHandler(DateService dateService,
com.google.common.base.Supplier<String> defaultRegion) |
| 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 AWSRunningInstance.Builder |
newBuilder() |
protected Reservation<? extends RunningInstance> |
newReservation() |
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 AWSRunningInstance.Builder builder
protected StringBuilder currentText
protected int itemDepth
protected BaseAWSReservationHandler(DateService dateService, com.google.common.base.Supplier<String> defaultRegion)
protected AWSRunningInstance.Builder newBuilder()
public void startElement(String uri, String localName, String qName, Attributes attrs) throws SAXException
startElement in interface ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void endElement(String uri, String name, String qName)
endElement in interface ContentHandlerendElement in class org.xml.sax.helpers.DefaultHandlerprotected void inItem()
protected void refineBuilderBeforeAddingInstance()
protected abstract boolean endOfInstanceItem()
public void characters(char[] ch,
int start,
int length)
characters in interface ContentHandlercharacters in class org.xml.sax.helpers.DefaultHandlerprotected Reservation<? extends RunningInstance> newReservation()
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.