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

public class AWSRunInstancesResponseHandler
extends BaseAWSReservationHandler<Reservation<? extends 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()
           
 Reservation<? extends 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 Reservation<? extends RunningInstance> getResult()
Specified by:
getResult in class ParseSax.HandlerWithResult<Reservation<? extends RunningInstance>>

endOfInstanceItem

protected boolean endOfInstanceItem()
Specified by:
endOfInstanceItem in class BaseAWSReservationHandler<Reservation<? extends RunningInstance>>


Copyright © 2009-2012 jclouds. All Rights Reserved.