Package org.jclouds.ec2.xml
Class DescribeKeyPairsResponseHandler
- java.lang.Object
 - 
- org.xml.sax.helpers.DefaultHandler
 - 
- org.jclouds.http.functions.ParseSax.HandlerWithResult<T>
 - 
- org.jclouds.http.functions.ParseSax.HandlerForGeneratedRequestWithResult<Set<KeyPair>>
 - 
- org.jclouds.ec2.xml.DescribeKeyPairsResponseHandler
 
 
 
 
 
- 
- All Implemented Interfaces:
 InvocationContext<ParseSax.HandlerWithResult<Set<KeyPair>>>,ContentHandler,DTDHandler,EntityResolver,ErrorHandler
public class DescribeKeyPairsResponseHandler extends ParseSax.HandlerForGeneratedRequestWithResult<Set<KeyPair>>
Parses: DescribeKeyPairsResponse xmlns="http://ec2.amazonaws.com/doc/2010-08-31/" 
- 
- 
Constructor Summary
Constructors Constructor Description DescribeKeyPairsResponseHandler(com.google.common.base.Supplier<String> defaultRegion) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcharacters(char[] ch, int start, int length)voidendElement(String uri, String name, String qName)Set<KeyPair>getResult()voidstartDocument()- 
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, startElement, startPrefixMapping, unparsedEntityDecl, warning 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
DescribeKeyPairsResponseHandler
@Inject public DescribeKeyPairsResponseHandler(com.google.common.base.Supplier<String> defaultRegion)
 
 - 
 
- 
Method Detail
- 
startDocument
public void startDocument()
- Specified by:
 startDocumentin interfaceContentHandler- Overrides:
 startDocumentin classDefaultHandler
 
- 
getResult
public Set<KeyPair> getResult()
- Specified by:
 getResultin classParseSax.HandlerWithResult<Set<KeyPair>>
 
- 
endElement
public void endElement(String uri, String name, String qName)
- Specified by:
 endElementin interfaceContentHandler- Overrides:
 endElementin classDefaultHandler
 
- 
characters
public void characters(char[] ch, int start, int length)- Specified by:
 charactersin interfaceContentHandler- Overrides:
 charactersin classDefaultHandler
 
 - 
 
 -