Package org.jclouds.ec2.xml
Class BundleTaskHandler
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- org.jclouds.http.functions.ParseSax.HandlerWithResult<T>
-
- org.jclouds.http.functions.ParseSax.HandlerForGeneratedRequestWithResult<BundleTask>
-
- org.jclouds.ec2.xml.BundleTaskHandler
-
- All Implemented Interfaces:
InvocationContext<ParseSax.HandlerWithResult<BundleTask>>,ContentHandler,DTDHandler,EntityResolver,ErrorHandler
public class BundleTaskHandler extends ParseSax.HandlerForGeneratedRequestWithResult<BundleTask>
-
-
Field Summary
Fields Modifier and Type Field Description protected DateServicedateServiceprotected com.google.common.base.Supplier<String>defaultRegion
-
Constructor Summary
Constructors Modifier Constructor Description protectedBundleTaskHandler(DateService dateService, com.google.common.base.Supplier<String> defaultRegion)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcharacters(char[] ch, int start, int length)voidendElement(String uri, String name, String qName)BundleTaskgetResult()-
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, startElement, startPrefixMapping, unparsedEntityDecl, warning
-
-
-
-
Field Detail
-
dateService
protected final DateService dateService
-
defaultRegion
protected final com.google.common.base.Supplier<String> defaultRegion
-
-
Constructor Detail
-
BundleTaskHandler
@Inject protected BundleTaskHandler(DateService dateService, com.google.common.base.Supplier<String> defaultRegion)
-
-
Method Detail
-
getResult
public BundleTask getResult()
- Specified by:
getResultin classParseSax.HandlerWithResult<BundleTask>
-
endElement
public void endElement(String uri, String name, String qName)
- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classDefaultHandler
-
characters
public void characters(char[] ch, int start, int length)- Specified by:
charactersin interfaceContentHandler- Overrides:
charactersin classDefaultHandler
-
-