public class GangliaXMLParser extends DefaultHandler implements GangliaMetKeys
CLUSTER, CPU_NUM, DESC, DMAX, EXTRA_ELEMENT, GMOND_STARTED, GROUP, HOST, IP, LATLONG, LOAD_FIFTEEN, LOAD_FIVE, LOAD_ONE, LOCALTIME, LOCATION, MAXIMUM_FRACTION_DIGITS, METRIC, NAME, OWNER, REPORTED, SLOPE, SOURCE, TITLE, TMAX, TN, TYPE, UNITS, URL, VAL
Constructor and Description |
---|
GangliaXMLParser() |
Modifier and Type | Method and Description |
---|---|
void |
endElement(String uri,
String localName,
String name) |
List<Cluster> |
getGridConfiguration()
Get the configuration after parsing the XML Stream.
|
void |
startDocument() |
void |
startElement(String uri,
String localName,
String name,
Attributes atts) |
characters, endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning
public void endElement(String uri, String localName, String name) throws SAXException
endElement
in interface ContentHandler
endElement
in class DefaultHandler
SAXException
public void startDocument() throws SAXException
startDocument
in interface ContentHandler
startDocument
in class DefaultHandler
SAXException
public void startElement(String uri, String localName, String name, Attributes atts) throws SAXException
startElement
in interface ContentHandler
startElement
in class DefaultHandler
SAXException
Copyright © 1999–2017 Apache OODT. All rights reserved.