@Beta public class ListAlarmsForMetricResponseHandler extends ParseSax.HandlerForGeneratedRequestWithResult<Iterable<Alarm>>
Constructor and Description |
---|
ListAlarmsForMetricResponseHandler(MetricAlarmHandler metricAlarmHandler) |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endElement(String uri,
String name,
String qName) |
com.google.common.collect.FluentIterable<Alarm> |
getResult() |
void |
startElement(String url,
String name,
String qName,
Attributes attributes) |
getRequest, setContext
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
@Inject public ListAlarmsForMetricResponseHandler(MetricAlarmHandler metricAlarmHandler)
public void startElement(String url, String name, String qName, Attributes attributes) throws SAXException
startElement
in interface ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
SAXException
public void endElement(String uri, String name, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class org.xml.sax.helpers.DefaultHandler
SAXException
public void characters(char[] ch, int start, int length)
characters
in interface ContentHandler
characters
in class org.xml.sax.helpers.DefaultHandler
public com.google.common.collect.FluentIterable<Alarm> getResult()
getResult
in class ParseSax.HandlerWithResult<Iterable<Alarm>>
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.