public class SnapshotHandler extends ParseSax.HandlerForGeneratedRequestWithResult<Snapshot>
Modifier and Type | Field and Description |
---|---|
protected DateService |
dateService |
protected com.google.common.base.Supplier<String> |
defaultRegion |
Constructor and Description |
---|
SnapshotHandler(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) |
Snapshot |
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 SnapshotHandler(DateService dateService, com.google.common.base.Supplier<String> defaultRegion)
public Snapshot getResult()
getResult
in class ParseSax.HandlerWithResult<Snapshot>
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-2016 The Apache Software Foundation. All Rights Reserved.