public class EnergyHandler extends NodeHandler
subHandler
Constructor and Description |
---|
EnergyHandler() |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endElement(String uri,
String localName,
String name) |
double |
getEnergy()
This method is called to get the energy of EnergyHandler.
|
boolean |
getHasEnergy()
This method is called to get the hasEnergy of EnergyHandler.
|
void |
startElement(String uri,
String localName,
String name,
Attributes attributes) |
completedNode, hasCompletedNode
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
public double getEnergy()
public boolean getHasEnergy()
public void startElement(String uri, String localName, String name, Attributes attributes) throws SAXException
startElement
in interface ContentHandler
startElement
in class DefaultHandler
SAXException
public void characters(char[] ch, int start, int length) throws SAXException
characters
in interface ContentHandler
characters
in class DefaultHandler
SAXException
public void endElement(String uri, String localName, String name) throws SAXException
endElement
in interface ContentHandler
endElement
in class DefaultHandler
SAXException