org.jclouds.sqs.xml
Class BatchResponseHandler<V>
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.jclouds.http.functions.ParseSax.HandlerWithResult<T>
org.jclouds.http.functions.ParseSax.HandlerForGeneratedRequestWithResult<BatchResult<V>>
org.jclouds.sqs.xml.BatchResponseHandler<V>
- All Implemented Interfaces:
- org.jclouds.rest.InvocationContext<org.jclouds.http.functions.ParseSax.HandlerWithResult<BatchResult<V>>>, ContentHandler, DTDHandler, EntityResolver, ErrorHandler
- Direct Known Subclasses:
- ChangeMessageVisibilityBatchResponseHandler, DeleteMessageBatchResponseHandler, SendMessageBatchResponseHandler
public class BatchResponseHandler<V>
- extends org.jclouds.http.functions.ParseSax.HandlerForGeneratedRequestWithResult<BatchResult<V>>
- Author:
- Adrian Cole
- See Also:
- docs
| Methods inherited from class org.jclouds.http.functions.ParseSax.HandlerForGeneratedRequestWithResult |
getRequest, setContext |
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BatchResponseHandler
protected BatchResponseHandler(String resultElement,
org.jclouds.http.functions.ParseSax.HandlerForGeneratedRequestWithResult<Map.Entry<String,V>> resultHandler,
BatchErrorHandler errorHandler)
getResult
public BatchResult<V> getResult()
- Specified by:
getResult in class org.jclouds.http.functions.ParseSax.HandlerWithResult<BatchResult<V>>
startElement
public void startElement(String url,
String name,
String qName,
Attributes attributes)
throws SAXException
- Specified by:
startElement in interface ContentHandler- Overrides:
startElement in class DefaultHandler
- Throws:
SAXException
endElement
public void endElement(String uri,
String name,
String qName)
throws SAXException
- Specified by:
endElement in interface ContentHandler- Overrides:
endElement in class DefaultHandler
- Throws:
SAXException
characters
public void characters(char[] ch,
int start,
int length)
throws SAXException
- Specified by:
characters in interface ContentHandler- Overrides:
characters in class DefaultHandler
- Throws:
SAXException
Copyright © 2009-2012 jclouds. All Rights Reserved.