public class SnapshotHandler extends ParseSax.HandlerForGeneratedRequestWithResult<Snapshot>
Modifier and Type | Field and Description |
---|---|
protected DateCodec |
dateCodec |
protected com.google.common.base.Supplier<String> |
defaultRegion |
Constructor and Description |
---|
SnapshotHandler(DateCodecFactory dateCodecFactory,
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 DateCodec dateCodec
protected final com.google.common.base.Supplier<String> defaultRegion
@Inject public SnapshotHandler(DateCodecFactory dateCodecFactory, 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.