public class SpotInstanceHandler extends ParseSax.HandlerForGeneratedRequestWithResult<SpotInstanceRequest>
Modifier and Type | Field and Description |
---|---|
protected SpotInstanceRequest.Builder |
builder |
protected DateCodec |
dateCodec |
protected com.google.common.base.Supplier<String> |
defaultRegion |
protected boolean |
inLaunchSpecification |
protected boolean |
inTagSet |
protected LaunchSpecificationHandler |
launchSpecificationHandler |
protected TagSetHandler |
tagSetHandler |
Constructor and Description |
---|
SpotInstanceHandler(DateCodecFactory dateCodecFactory,
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, setContext
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
protected final DateCodec dateCodec
protected final com.google.common.base.Supplier<String> defaultRegion
protected final SpotInstanceRequest.Builder builder
protected boolean inLaunchSpecification
protected final LaunchSpecificationHandler launchSpecificationHandler
protected boolean inTagSet
protected final TagSetHandler tagSetHandler
@Inject public SpotInstanceHandler(DateCodecFactory dateCodecFactory, 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 ContentHandler
startElement
in class DefaultHandler
SAXException
public void endElement(String uri, String name, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class DefaultHandler
SAXException
public void characters(char[] ch, int start, int length)
characters
in interface ContentHandler
characters
in class DefaultHandler
Copyright © 2009-2013 jclouds. All Rights Reserved.