org.jclouds.ec2.xml
Class DescribeInstancesResponseHandler

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.ec2.xml.BaseReservationHandler<Set<Reservation<? extends RunningInstance>>>
                  extended by 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:

Author:
Adrian Cole
See Also:
Field Summary
 
Fields inherited from class org.jclouds.ec2.xml.BaseReservationHandler
builder, builderProvider, currentText, dateService, defaultRegion, itemDepth, logger
 
Method Summary
protected  boolean endOfReservationItem()
           
 Set<Reservation<? extends RunningInstance>> getResult()
           
protected  void inItem()
           
 
Methods inherited from class org.jclouds.ec2.xml.BaseReservationHandler
builder, characters, endElement, endOfInstanceItem, 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<Reservation<? extends RunningInstance>> getResult()
Specified by:
getResult in class ParseSax.HandlerWithResult<Set<Reservation<? extends RunningInstance>>>

endOfReservationItem

protected boolean endOfReservationItem()

inItem

protected void inItem()
Overrides:
inItem in class BaseReservationHandler<Set<Reservation<? extends RunningInstance>>>


Copyright © 2009-2012 jclouds. All Rights Reserved.