Package org.jclouds.ec2.xml
Class RunInstancesResponseHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.jclouds.http.functions.ParseSax.HandlerWithResult<Reservation<? extends RunningInstance>>
org.jclouds.http.functions.ParseSax.HandlerForGeneratedRequestWithResult<Reservation<? extends RunningInstance>>
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
ConstructorsConstructorDescriptionRunInstancesResponseHandler
(DateService dateService, com.google.common.base.Supplier<String> defaultRegion) -
Method Summary
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
RunInstancesResponseHandler
@Inject public RunInstancesResponseHandler(DateService dateService, com.google.common.base.Supplier<String> defaultRegion)
-
-
Method Details
-
getResult
- Specified by:
getResult
in classParseSax.HandlerWithResult<Reservation<? extends RunningInstance>>
-