Package org.jclouds.ec2.xml
Class DescribeInstancesResponseHandler
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.ec2.xml.BaseReservationHandler<Set<Reservation<? extends RunningInstance>>>
org.jclouds.ec2.xml.DescribeInstancesResponseHandler
- All Implemented Interfaces:
InvocationContext<ParseSax.HandlerWithResult<Set<Reservation<? extends RunningInstance>>>>,ContentHandler,DTDHandler,EntityResolver,ErrorHandler
public class DescribeInstancesResponseHandler
extends BaseReservationHandler<Set<Reservation<? extends RunningInstance>>>
Parses the following XML document:
DescribeImagesResponse xmlns="http:
- See Also:
-
Field Summary
Fields inherited from class org.jclouds.ec2.xml.BaseReservationHandler
builder, currentText, dateService, defaultRegion, inGroupSet, inInstancesSet, inProductCodes, itemDepth -
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.ec2.xml.BaseReservationHandler
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
- Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classBaseReservationHandler<Set<Reservation<? extends RunningInstance>>>
-
characters
public void characters(char[] ch, int start, int length) - Specified by:
charactersin interfaceContentHandler- Overrides:
charactersin classBaseReservationHandler<Set<Reservation<? extends RunningInstance>>>
-
endElement
- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classBaseReservationHandler<Set<Reservation<? extends RunningInstance>>>
-
getResult
- Specified by:
getResultin classParseSax.HandlerWithResult<Set<Reservation<? extends RunningInstance>>>
-
endOfReservationItem
protected boolean endOfReservationItem() -
inItem
protected void inItem()- Overrides:
inItemin classBaseReservationHandler<Set<Reservation<? extends RunningInstance>>>
-
endOfInstanceItem
protected boolean endOfInstanceItem()- Overrides:
endOfInstanceItemin classBaseReservationHandler<Set<Reservation<? extends RunningInstance>>>
-