org.jclouds.cloudwatch.xml
Class MetricAlarmHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.jclouds.http.functions.ParseSax.HandlerWithResult<T>
org.jclouds.http.functions.ParseSax.HandlerForGeneratedRequestWithResult<Alarm>
org.jclouds.cloudwatch.xml.MetricAlarmHandler
- All Implemented Interfaces:
- org.jclouds.rest.InvocationContext<org.jclouds.http.functions.ParseSax.HandlerWithResult<Alarm>>, ContentHandler, DTDHandler, EntityResolver, ErrorHandler
@Beta
public class MetricAlarmHandler
- extends org.jclouds.http.functions.ParseSax.HandlerForGeneratedRequestWithResult<Alarm>
- Author:
- Jeremy Whitlock
- See Also:
| 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 |
dateService
protected final org.jclouds.date.DateService dateService
dimensionHandler
protected final DimensionHandler dimensionHandler
MetricAlarmHandler
@Inject
public MetricAlarmHandler(org.jclouds.date.DateService dateService,
DimensionHandler dimensionHandler)
shouldHandleMemberTag
public boolean shouldHandleMemberTag()
startElement
public void startElement(String url,
String name,
String qName,
Attributes attributes)
throws SAXException
- Specified by:
startElement in interface ContentHandler- Overrides:
startElement in class DefaultHandler
- Throws:
SAXException
endElement
public void endElement(String uri,
String name,
String qName)
throws SAXException
- Specified by:
endElement in interface ContentHandler- Overrides:
endElement in class DefaultHandler
- Throws:
SAXException
characters
public void characters(char[] ch,
int start,
int length)
- Specified by:
characters in interface ContentHandler- Overrides:
characters in class DefaultHandler
getResult
public Alarm getResult()
- Specified by:
getResult in class org.jclouds.http.functions.ParseSax.HandlerWithResult<Alarm>
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.