public class SpotInstanceHandler extends ParseSax.HandlerForGeneratedRequestWithResult<SpotInstanceRequest>
| Modifier and Type | Field and Description |
|---|---|
protected SpotInstanceRequest.Builder |
builder |
protected DateService |
dateService |
protected com.google.common.base.Supplier<String> |
defaultRegion |
protected boolean |
inFault |
protected boolean |
inLaunchSpecification |
protected boolean |
inStatus |
protected boolean |
inTagSet |
protected LaunchSpecificationHandler |
launchSpecificationHandler |
protected TagSetHandler |
tagSetHandler |
| Constructor and Description |
|---|
SpotInstanceHandler(DateService dateService,
com.google.common.base.Supplier<String> defaultRegion,
LaunchSpecificationHandler launchSpecificationHandler,
TagSetHandler tagSetHandler,
SpotInstanceRequest.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endElement(String uri,
String name,
String qName) |
SpotInstanceRequest |
getResult() |
void |
startElement(String uri,
String name,
String qName,
Attributes attrs) |
getRequest, setContextendDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningprotected final DateService dateService
protected final com.google.common.base.Supplier<String> defaultRegion
protected final SpotInstanceRequest.Builder builder
protected boolean inFault
protected boolean inStatus
protected boolean inLaunchSpecification
protected final LaunchSpecificationHandler launchSpecificationHandler
protected boolean inTagSet
protected final TagSetHandler tagSetHandler
@Inject public SpotInstanceHandler(DateService dateService, com.google.common.base.Supplier<String> defaultRegion, LaunchSpecificationHandler launchSpecificationHandler, TagSetHandler tagSetHandler, SpotInstanceRequest.Builder builder)
public SpotInstanceRequest getResult()
getResult in class ParseSax.HandlerWithResult<SpotInstanceRequest>public void startElement(String uri, String name, 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) throws SAXException
endElement in interface ContentHandlerendElement in class org.xml.sax.helpers.DefaultHandlerSAXExceptionpublic void characters(char[] ch,
int start,
int length)
characters in interface ContentHandlercharacters in class org.xml.sax.helpers.DefaultHandlerCopyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.