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, hasCompletedNodeendDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningpublic double getEnergy()
public boolean getHasEnergy()
public void startElement(String uri, String localName, String name, Attributes attributes) throws SAXException
startElement in interface ContentHandlerstartElement in class DefaultHandlerSAXExceptionpublic void characters(char[] ch,
int start,
int length)
throws SAXException
characters in interface ContentHandlercharacters in class DefaultHandlerSAXExceptionpublic void endElement(String uri, String localName, String name) throws SAXException
endElement in interface ContentHandlerendElement in class DefaultHandlerSAXException