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-06-15/"
- Author:
- Adrian Cole
- See Also:
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startElement, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DescribeKeyPairsResponseHandler
@Inject
public DescribeKeyPairsResponseHandler(com.google.common.base.Supplier<String> defaultRegion)
startDocument
public void startDocument()
- Specified by:
startDocument in interface ContentHandler- Overrides:
startDocument in class DefaultHandler
getResult
public Set<KeyPair> getResult()
- Specified by:
getResult in class ParseSax.HandlerWithResult<Set<KeyPair>>
endElement
public void endElement(String uri,
String name,
String qName)
- Specified by:
endElement in interface ContentHandler- Overrides:
endElement in class DefaultHandler
characters
public void characters(char[] ch,
int start,
int length)
- Specified by:
characters in interface ContentHandler- Overrides:
characters in class DefaultHandler
Copyright © 2009-2012 jclouds. All Rights Reserved.