Package org.jclouds.cloudwatch.xml
Class AlarmHistoryItemHandler
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- org.jclouds.http.functions.ParseSax.HandlerWithResult<T>
-
- org.jclouds.http.functions.ParseSax.HandlerForGeneratedRequestWithResult<AlarmHistoryItem>
-
- org.jclouds.cloudwatch.xml.AlarmHistoryItemHandler
-
- All Implemented Interfaces:
InvocationContext<ParseSax.HandlerWithResult<AlarmHistoryItem>>,ContentHandler,DTDHandler,EntityResolver,ErrorHandler
@Beta public class AlarmHistoryItemHandler extends ParseSax.HandlerForGeneratedRequestWithResult<AlarmHistoryItem>
-
-
Field Summary
Fields Modifier and Type Field Description protected DateServicedateService
-
Constructor Summary
Constructors Constructor Description AlarmHistoryItemHandler(DateService dateService)
-
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)AlarmHistoryItemgetResult()-
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
-
-
Constructor Detail
-
AlarmHistoryItemHandler
@Inject public AlarmHistoryItemHandler(DateService dateService)
-
-
Method Detail
-
endElement
public void endElement(String uri, String name, String qName) throws SAXException
- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classDefaultHandler- Throws:
SAXException
-
characters
public void characters(char[] ch, int start, int length)- Specified by:
charactersin interfaceContentHandler- Overrides:
charactersin classDefaultHandler
-
getResult
public AlarmHistoryItem getResult()
- Specified by:
getResultin classParseSax.HandlerWithResult<AlarmHistoryItem>
-
-