Package org.jclouds.aws.ec2.xml
Class AWSDescribeInstancesResponseHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.jclouds.http.functions.ParseSax.HandlerWithResult<Set<Reservation<? extends RunningInstance>>>
org.jclouds.http.functions.ParseSax.HandlerForGeneratedRequestWithResult<Set<Reservation<? extends RunningInstance>>>
org.jclouds.aws.ec2.xml.BaseAWSReservationHandler<Set<Reservation<? extends RunningInstance>>>
org.jclouds.aws.ec2.xml.AWSDescribeInstancesResponseHandler
- All Implemented Interfaces:
InvocationContext<ParseSax.HandlerWithResult<Set<Reservation<? extends RunningInstance>>>>,ContentHandler,DTDHandler,EntityResolver,ErrorHandler
public class AWSDescribeInstancesResponseHandler
extends BaseAWSReservationHandler<Set<Reservation<? extends RunningInstance>>>
Parses the following XML document:
DescribeImagesResponse xmlns="http:
- See Also:
-
Field Summary
Fields inherited from class org.jclouds.aws.ec2.xml.BaseAWSReservationHandler
builder, currentText, dateService, defaultRegion, itemDepth, logger -
Method Summary
Modifier and TypeMethodDescriptionvoidcharacters(char[] ch, int start, int length) voidendElement(String uri, String name, String qName) protected booleanprotected booleanSet<Reservation<? extends RunningInstance>> protected voidinItem()voidstartElement(String uri, String name, String qName, Attributes attrs) Methods inherited from class org.jclouds.aws.ec2.xml.BaseAWSReservationHandler
newBuilder, newReservation, refineBuilderBeforeAddingInstanceMethods 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
-
Method Details
-
startElement
public void startElement(String uri, String name, String qName, Attributes attrs) throws SAXException - Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classBaseAWSReservationHandler<Set<Reservation<? extends RunningInstance>>>- Throws:
SAXException
-
characters
public void characters(char[] ch, int start, int length) - Specified by:
charactersin interfaceContentHandler- Overrides:
charactersin classBaseAWSReservationHandler<Set<Reservation<? extends RunningInstance>>>
-
endElement
- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classBaseAWSReservationHandler<Set<Reservation<? extends RunningInstance>>>
-
getResult
- Specified by:
getResultin classParseSax.HandlerWithResult<Set<Reservation<? extends RunningInstance>>>
-
endOfReservationItem
protected boolean endOfReservationItem() -
inItem
protected void inItem()- Overrides:
inItemin classBaseAWSReservationHandler<Set<Reservation<? extends RunningInstance>>>
-
endOfInstanceItem
protected boolean endOfInstanceItem()- Specified by:
endOfInstanceItemin classBaseAWSReservationHandler<Set<Reservation<? extends RunningInstance>>>
-