org.jclouds.aws.ec2.xml
Class AWSDescribeInstancesResponseHandler

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by org.jclouds.http.functions.ParseSax.HandlerWithResult<T>
          extended by org.jclouds.http.functions.ParseSax.HandlerForGeneratedRequestWithResult<T>
              extended by org.jclouds.aws.ec2.xml.BaseAWSReservationHandler<Set<org.jclouds.ec2.domain.Reservation<? extends org.jclouds.ec2.domain.RunningInstance>>>
                  extended by org.jclouds.aws.ec2.xml.AWSDescribeInstancesResponseHandler
All Implemented Interfaces:
org.jclouds.rest.InvocationContext<org.jclouds.http.functions.ParseSax.HandlerWithResult<Set<org.jclouds.ec2.domain.Reservation<? extends org.jclouds.ec2.domain.RunningInstance>>>>, ContentHandler, DTDHandler, EntityResolver, ErrorHandler

public class AWSDescribeInstancesResponseHandler
extends BaseAWSReservationHandler<Set<org.jclouds.ec2.domain.Reservation<? extends org.jclouds.ec2.domain.RunningInstance>>>

Parses the following XML document:

DescribeImagesResponse xmlns="http:

Author:
Adrian Cole
See Also:
Field Summary
 
Fields inherited from class org.jclouds.aws.ec2.xml.BaseAWSReservationHandler
builder, builderProvider, currentText, dateService, defaultRegion, depth, itemDepth, logger
 
Method Summary
protected  boolean endOfInstanceItem()
           
protected  boolean endOfReservationItem()
           
 Set<org.jclouds.ec2.domain.Reservation<? extends org.jclouds.ec2.domain.RunningInstance>> getResult()
           
protected  void inItem()
           
 
Methods inherited from class org.jclouds.aws.ec2.xml.BaseAWSReservationHandler
characters, endElement, newReservation, parseDate, refineBuilderBeforeAddingInstance, startElement
 
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, startDocument, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getResult

public Set<org.jclouds.ec2.domain.Reservation<? extends org.jclouds.ec2.domain.RunningInstance>> getResult()
Specified by:
getResult in class org.jclouds.http.functions.ParseSax.HandlerWithResult<Set<org.jclouds.ec2.domain.Reservation<? extends org.jclouds.ec2.domain.RunningInstance>>>

endOfReservationItem

protected boolean endOfReservationItem()

inItem

protected void inItem()
Overrides:
inItem in class BaseAWSReservationHandler<Set<org.jclouds.ec2.domain.Reservation<? extends org.jclouds.ec2.domain.RunningInstance>>>

endOfInstanceItem

protected boolean endOfInstanceItem()
Specified by:
endOfInstanceItem in class BaseAWSReservationHandler<Set<org.jclouds.ec2.domain.Reservation<? extends org.jclouds.ec2.domain.RunningInstance>>>


Copyright © 2009-2011 jclouds. All Rights Reserved.