@Beta public class MetricAlarmHandler extends ParseSax.HandlerForGeneratedRequestWithResult<Alarm>
Modifier and Type | Field and Description |
---|---|
protected DateService |
dateService |
protected DimensionHandler |
dimensionHandler |
Constructor and Description |
---|
MetricAlarmHandler(DateService dateService,
DimensionHandler dimensionHandler) |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endElement(String uri,
String name,
String qName) |
Alarm |
getResult() |
boolean |
shouldHandleMemberTag() |
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
protected final DateService dateService
protected final DimensionHandler dimensionHandler
@Inject public MetricAlarmHandler(DateService dateService, DimensionHandler dimensionHandler)
public boolean shouldHandleMemberTag()
public void startElement(String url, String name, String qName, Attributes attributes) throws SAXException
startElement
in interface ContentHandler
startElement
in class DefaultHandler
SAXException
public void endElement(String uri, String name, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class DefaultHandler
SAXException
public void characters(char[] ch, int start, int length)
characters
in interface ContentHandler
characters
in class DefaultHandler
public Alarm getResult()
getResult
in class ParseSax.HandlerWithResult<Alarm>
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.