org.jclouds.aws.ec2.xml
Class AWSRunInstancesResponseHandler

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<org.jclouds.ec2.domain.Reservation<? extends org.jclouds.ec2.domain.RunningInstance>>
                  extended by org.jclouds.aws.ec2.xml.AWSRunInstancesResponseHandler
All Implemented Interfaces:
org.jclouds.rest.InvocationContext<org.jclouds.http.functions.ParseSax.HandlerWithResult<org.jclouds.ec2.domain.Reservation<? extends org.jclouds.ec2.domain.RunningInstance>>>, ContentHandler, DTDHandler, EntityResolver, ErrorHandler

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

Parses the following XML document:

RunInstancesResponse 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()
           
 org.jclouds.ec2.domain.Reservation<? extends org.jclouds.ec2.domain.RunningInstance> getResult()
           
 
Methods inherited from class org.jclouds.aws.ec2.xml.BaseAWSReservationHandler
characters, endElement, inItem, 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 org.jclouds.ec2.domain.Reservation<? extends org.jclouds.ec2.domain.RunningInstance> getResult()
Specified by:
getResult in class org.jclouds.http.functions.ParseSax.HandlerWithResult<org.jclouds.ec2.domain.Reservation<? extends org.jclouds.ec2.domain.RunningInstance>>

endOfInstanceItem

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


Copyright © 2009-2011 jclouds. All Rights Reserved.