@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, setContextendDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningprotected 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 ContentHandlerstartElement in class DefaultHandlerSAXExceptionpublic void endElement(String uri, String name, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class DefaultHandlerSAXExceptionpublic void characters(char[] ch,
int start,
int length)
characters in interface ContentHandlercharacters in class DefaultHandlerpublic Alarm getResult()
getResult in class ParseSax.HandlerWithResult<Alarm>Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.