Package org.jclouds.ec2.xml
Class InstanceStateChangeHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.jclouds.http.functions.ParseSax.HandlerWithResult<Set<InstanceStateChange>>
org.jclouds.http.functions.ParseSax.HandlerForGeneratedRequestWithResult<Set<InstanceStateChange>>
org.jclouds.ec2.xml.InstanceStateChangeHandler
- All Implemented Interfaces:
InvocationContext<ParseSax.HandlerWithResult<Set<InstanceStateChange>>>,ContentHandler,DTDHandler,EntityResolver,ErrorHandler
public class InstanceStateChangeHandler
extends ParseSax.HandlerForGeneratedRequestWithResult<Set<InstanceStateChange>>
Parses the following XML document:
TerminateInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-08-31/"
StartInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2010-08-31/" StopInstancesResponse
xmlns="http://ec2.amazonaws.com/doc/2010-08-31/"
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcharacters(char[] ch, int start, int length) protected StringvoidendElement(String uri, String name, String qName) voidstartElement(String uri, String name, String qName, Attributes attrs) Methods inherited from class org.jclouds.http.functions.ParseSax.HandlerForGeneratedRequestWithResult
getRequest, setContextMethods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
InstanceStateChangeHandler
public InstanceStateChangeHandler()
-
-
Method Details
-
getResult
- Specified by:
getResultin classParseSax.HandlerWithResult<Set<InstanceStateChange>>
-
startElement
- Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classDefaultHandler
-
endElement
- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classDefaultHandler
-
characters
public void characters(char[] ch, int start, int length) - Specified by:
charactersin interfaceContentHandler- Overrides:
charactersin classDefaultHandler
-
currentOrNull
-