Package org.jclouds.ec2.xml
Class AttachmentHandler
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- org.jclouds.http.functions.ParseSax.HandlerWithResult<T>
-
- org.jclouds.http.functions.ParseSax.HandlerForGeneratedRequestWithResult<Attachment>
-
- org.jclouds.ec2.xml.AttachmentHandler
-
- All Implemented Interfaces:
InvocationContext<ParseSax.HandlerWithResult<Attachment>>
,ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
public class AttachmentHandler extends ParseSax.HandlerForGeneratedRequestWithResult<Attachment>
-
-
Field Summary
Fields Modifier and Type Field Description protected DateService
dateService
protected com.google.common.base.Supplier<String>
defaultRegion
protected Logger
logger
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
characters(char[] ch, int start, int length)
void
endElement(String uri, String name, String qName)
Attachment
getResult()
-
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
-
logger
protected Logger logger
-
dateService
protected final DateService dateService
-
defaultRegion
protected final com.google.common.base.Supplier<String> defaultRegion
-
-
Method Detail
-
getResult
public Attachment getResult()
- Specified by:
getResult
in classParseSax.HandlerWithResult<Attachment>
-
endElement
public void endElement(String uri, String name, String qName)
- Specified by:
endElement
in interfaceContentHandler
- Overrides:
endElement
in classDefaultHandler
-
characters
public void characters(char[] ch, int start, int length)
- Specified by:
characters
in interfaceContentHandler
- Overrides:
characters
in classDefaultHandler
-
-