public class ThermoHandler extends NodeHandler
subHandler| Constructor and Description |
|---|
ThermoHandler(java.lang.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(java.lang.String uri,
java.lang.String localName,
java.lang.String name) |
java.util.HashMap<java.lang.String,java.lang.String> |
getAttribut()
This method is called to get the attribut HashMap of the ThermoHandler object.
|
java.lang.Double |
getEnthalpy()
This method is called to get the enthalpy double value of the ThermoHandler object.
|
java.lang.Double |
getEntropy()
This method is called to get the entropy double value of the ThermoHandler object.
|
java.lang.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(java.lang.String uri,
java.lang.String localName,
java.lang.String name,
org.xml.sax.Attributes attributes) |
completedNode, hasCompletedNodepublic ThermoHandler(java.lang.String nodeName)
nodeName - : node namepublic java.lang.String getName()
public java.lang.Double getEnthalpy()
public java.lang.Double getEntropy()
public Thermodynamics getThermo()
public java.util.HashMap<java.lang.String,java.lang.String> getAttribut()
public void initialiseAttributes()
public void startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String name,
org.xml.sax.Attributes attributes)
throws org.xml.sax.SAXException
startElement in interface org.xml.sax.ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXExceptionpublic void characters(char[] ch,
int start,
int length)
throws org.xml.sax.SAXException
characters in interface org.xml.sax.ContentHandlercharacters in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXExceptionpublic void endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String name)
throws org.xml.sax.SAXException
endElement in interface org.xml.sax.ContentHandlerendElement in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXException