public class SpotHandler extends ParseSax.HandlerForGeneratedRequestWithResult<Spot>
Modifier and Type | Field and Description |
---|---|
protected DateService |
dateService |
protected com.google.common.base.Supplier<String> |
defaultRegion |
Constructor and Description |
---|
SpotHandler(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) |
Spot |
getResult() |
getRequest, setContext
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning
protected final DateService dateService
protected final com.google.common.base.Supplier<String> defaultRegion
@Inject public SpotHandler(DateService dateService, com.google.common.base.Supplier<String> defaultRegion)
public Spot getResult()
getResult
in class ParseSax.HandlerWithResult<Spot>
public void endElement(String uri, String name, String qName)
endElement
in interface ContentHandler
endElement
in class DefaultHandler
public void characters(char[] ch, int start, int length)
characters
in interface ContentHandler
characters
in class DefaultHandler
Copyright © 2009-2012 jclouds. All Rights Reserved.