public class ThermoHandler extends NodeHandler
subHandler| Constructor and Description |
|---|
ThermoHandler(String nodeName)
creates a ThermoHandler object and initialises the instance variables of this object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endElement(String uri,
String localName,
String name) |
HashMap<String,String> |
getAttribut()
This method is called to get the attribut HashMap of the ThermoHandler object.
|
Double |
getEnthalpy()
This method is called to get the enthalpy double value of the ThermoHandler object.
|
Double |
getEntropy()
This method is called to get the entropy double value of the ThermoHandler object.
|
String |
getName()
This method is called to get the name String of the ThermoHandler object.
|
Thermodynamics |
getThermo()
This method is called to get the Thermodynamics of the ThermoHandler object.
|
void |
initialiseAttributes()
initialises the attribut HashMap of the ThermoHandler object.
|
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 ThermoHandler(String nodeName)
nodeName - : node namepublic String getName()
public Double getEnthalpy()
public Double getEntropy()
public Thermodynamics getThermo()
public HashMap<String,String> getAttribut()
public void initialiseAttributes()
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