Package 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:
InvocationContext<ParseSax.HandlerWithResult<BatchResult<V>>>
,ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
- Direct Known Subclasses:
ChangeMessageVisibilityBatchResponseHandler
,DeleteMessageBatchResponseHandler
,SendMessageBatchResponseHandler
public class BatchResponseHandler<V> extends ParseSax.HandlerForGeneratedRequestWithResult<BatchResult<V>>
- See Also:
- docs
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BatchResponseHandler(String resultElement, ParseSax.HandlerForGeneratedRequestWithResult<Map.Entry<String,V>> resultHandler, BatchErrorHandler errorHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
characters(char[] ch, int start, int length)
void
endElement(String uri, String name, String qName)
BatchResult<V>
getResult()
void
startElement(String url, String name, String qName, Attributes attributes)
-
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
-
-
-
-
Constructor Detail
-
BatchResponseHandler
protected BatchResponseHandler(String resultElement, ParseSax.HandlerForGeneratedRequestWithResult<Map.Entry<String,V>> resultHandler, BatchErrorHandler errorHandler)
-
-
Method Detail
-
getResult
public BatchResult<V> getResult()
- Specified by:
getResult
in classParseSax.HandlerWithResult<BatchResult<V>>
-
startElement
public void startElement(String url, String name, String qName, Attributes attributes) throws SAXException
- Specified by:
startElement
in interfaceContentHandler
- Overrides:
startElement
in classDefaultHandler
- Throws:
SAXException
-
endElement
public void endElement(String uri, String name, String qName) throws SAXException
- Specified by:
endElement
in interfaceContentHandler
- Overrides:
endElement
in classDefaultHandler
- Throws:
SAXException
-
characters
public void characters(char[] ch, int start, int length) throws SAXException
- Specified by:
characters
in interfaceContentHandler
- Overrides:
characters
in classDefaultHandler
- Throws:
SAXException
-
-