Package org.jclouds.ec2.xml
Class RunInstancesResponseHandler
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- org.jclouds.http.functions.ParseSax.HandlerWithResult<T>
-
- org.jclouds.http.functions.ParseSax.HandlerForGeneratedRequestWithResult<T>
-
- org.jclouds.ec2.xml.BaseReservationHandler<Reservation<? extends RunningInstance>>
-
- org.jclouds.ec2.xml.RunInstancesResponseHandler
-
- All Implemented Interfaces:
InvocationContext<ParseSax.HandlerWithResult<Reservation<? extends RunningInstance>>>
,ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
public class RunInstancesResponseHandler extends BaseReservationHandler<Reservation<? extends RunningInstance>>
Parses the following XML document: RunInstancesResponse xmlns="http:- See Also:
-
-
-
Field Summary
-
Fields inherited from class org.jclouds.ec2.xml.BaseReservationHandler
builder, currentText, dateService, defaultRegion, inGroupSet, inInstancesSet, inProductCodes, itemDepth
-
-
Constructor Summary
Constructors Constructor Description RunInstancesResponseHandler(DateService dateService, com.google.common.base.Supplier<String> defaultRegion)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Reservation<? extends RunningInstance>
getResult()
-
Methods inherited from class org.jclouds.ec2.xml.BaseReservationHandler
characters, endElement, endOfInstanceItem, inItem, newBuilder, newReservation, 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
-
-
-
-
-
Constructor Detail
-
RunInstancesResponseHandler
@Inject public RunInstancesResponseHandler(DateService dateService, com.google.common.base.Supplier<String> defaultRegion)
-
-
Method Detail
-
getResult
public Reservation<? extends RunningInstance> getResult()
- Specified by:
getResult
in classParseSax.HandlerWithResult<Reservation<? extends RunningInstance>>
-
-