Package org.jclouds.ec2.xml
Class KeyPairResponseHandler
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- org.jclouds.http.functions.ParseSax.HandlerWithResult<T>
-
- org.jclouds.http.functions.ParseSax.HandlerForGeneratedRequestWithResult<KeyPair>
-
- org.jclouds.ec2.xml.KeyPairResponseHandler
-
- All Implemented Interfaces:
InvocationContext<ParseSax.HandlerWithResult<KeyPair>>
,ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
public class KeyPairResponseHandler extends ParseSax.HandlerForGeneratedRequestWithResult<KeyPair>
-
-
Constructor Summary
Constructors Constructor Description KeyPairResponseHandler(com.google.common.base.Supplier<String> defaultRegion)
-
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)
KeyPair
getResult()
void
startDocument()
-
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
-
KeyPairResponseHandler
@Inject public KeyPairResponseHandler(com.google.common.base.Supplier<String> defaultRegion)
-
-
Method Detail
-
startDocument
public void startDocument()
- Specified by:
startDocument
in interfaceContentHandler
- Overrides:
startDocument
in classDefaultHandler
-
getResult
public KeyPair getResult()
- Specified by:
getResult
in classParseSax.HandlerWithResult<KeyPair>
-
endElement
public void endElement(String uri, String name, String qName)
- Specified by:
endElement
in interfaceContentHandler
- Overrides:
endElement
in classDefaultHandler
-
characters
public void characters(char[] ch, int start, int length)
- Specified by:
characters
in interfaceContentHandler
- Overrides:
characters
in classDefaultHandler
-
-