public class DescribeSnapshotsResponseHandler extends ParseSax.HandlerWithResult<Set<Snapshot>>
Constructor and Description |
---|
DescribeSnapshotsResponseHandler(SnapshotHandler snapshotHandler) |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endElement(String uri,
String localName,
String qName) |
Set<Snapshot> |
getResult() |
DescribeSnapshotsResponseHandler |
setContext(HttpRequest request) |
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes) |
getRequest
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
@Inject public DescribeSnapshotsResponseHandler(SnapshotHandler snapshotHandler)
public Set<Snapshot> getResult()
getResult
in class ParseSax.HandlerWithResult<Set<Snapshot>>
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
startElement
in interface ContentHandler
startElement
in class DefaultHandler
SAXException
public void endElement(String uri, String localName, 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
public DescribeSnapshotsResponseHandler setContext(HttpRequest request)
setContext
in interface InvocationContext<ParseSax.HandlerWithResult<Set<Snapshot>>>
setContext
in class ParseSax.HandlerWithResult<Set<Snapshot>>
Copyright © 2009-2012 jclouds. All Rights Reserved.