Public Member Functions | |
| DetailedOutputTimestepParseHandler (DetailedOutputFileManager oData) | |
| Constructor. | |
| void | startElement (java.lang.String sURI, java.lang.String sLocalName, java.lang.String sQName, Attributes oAttributes) throws SAXException |
| Called when the parser hits a new opening tag. | |
| void | endElement (java.lang.String sURI, java.lang.String sLocalName, java.lang.String sQName) throws SAXException |
| Feeds accumulated character data. | |
| void | characters (char[] ch, int start, int length) throws SAXException |
| Reads character data from the XML file and appends it to the buffer. | |
Private Attributes | |
| DetailedOutputFileManager | m_oData |
| Parent detailed output file manager. | |
| StringBuffer | m_sBuf |
| String buffer for collecting character data. | |
| String | m_sDataMemberLabel |
| Data member label. | |
| String | m_sGridName = "" |
| Grid name. | |
| int | m_iSpecies |
| Tree species. | |
| int | m_iType |
| Tree type. | |
| int | m_iDataMemberCode |
| Data member code. | |
| int | m_iX |
| Grid cell X number. | |
| int | m_iY |
| Grid cell Y number. | |
| boolean | m_bIsGridXCellLength |
| Indicates the data just parsed is the X length of grid cells. | |
| boolean | m_bIsGridYCellLength |
| Indicates the data just parsed is the Y length of grid cells. | |
| boolean | m_bIsFloatCode |
| Indicates the data just parsed is the code for a float data member. | |
| boolean | m_bIsIntCode |
| Indicates the data just parsed is the code for an int data member. | |
| boolean | m_bIsCharCode |
| Indicates the data just parsed is the code for a char data member. | |
| boolean | m_bIsBoolCode |
| Indicates the data just parsed is the code for a bool data member. | |
| boolean | m_bIsFloatData |
| Indicates the data just parsed is float data. | |
| boolean | m_bIsIntData |
| Indicates the data just parsed is int data. | |
| boolean | m_bIsCharData |
| Indicates the data just parsed is char data. | |
| boolean | m_bIsBoolData |
| Indicates the data just parsed is bool data. | |
| boolean | m_bWantsTreeFloat |
| Indicates whether any other object wants tree float values. | |
| boolean | m_bWantsTreeInt |
| Indicates whether any other object wants tree int values. | |
| boolean | m_bWantsTreeChar |
| Indicates whether any other object wants tree char values. | |
| boolean | m_bWantsTreeBool |
| Indicates whether any other object wants tree bool values. | |
| boolean | m_bWantsGridFloat |
| Indicates whether any other object wants grid float values. | |
| boolean | m_bWantsGridInt |
| Indicates whether any other object wants grid int values. | |
| boolean | m_bWantsGridChar |
| Indicates whether any other object wants grid char values. | |
| boolean | m_bWantsGridBool |
| Indicates whether any other object wants grid bool values. | |
| boolean | m_bWantsGridPackageFloat |
| Indicates whether any other object wants grid package float values. | |
| boolean | m_bWantsGridPackageInt |
| Indicates whether any other object wants grid package int values. | |
| boolean | m_bWantsGridPackageChar |
| Indicates whether any other object wants grid package char values. | |
| boolean | m_bWantsGridPackageBool |
| Indicates whether any other object wants grid package bool values. | |
| boolean | m_bIsPackage |
| Indicates that these are grid package values. | |
Copyright: Copyright (c) Charles D. Canham 2003
Company: Institute of Ecosystem Studies
| datavisualizer::DetailedOutputTimestepParseHandler::DetailedOutputTimestepParseHandler | ( | DetailedOutputFileManager | oData | ) | [inline] |
Constructor.
| oData | Parent detailed output file manager. |
| void datavisualizer::DetailedOutputTimestepParseHandler::characters | ( | char[] | ch, | |
| int | start, | |||
| int | length | |||
| ) | throws SAXException [inline] |
Reads character data from the XML file and appends it to the buffer.
The parser can call this multiple times per tag.
| ch | The characters from the XML document. | |
| start | - The start position in the array. | |
| length | - The number of characters to read from the array. |
| SAXException | if any of the described cases above is true. |
| void datavisualizer::DetailedOutputTimestepParseHandler::endElement | ( | java.lang.String | sURI, | |
| java.lang.String | sLocalName, | |||
| java.lang.String | sQName | |||
| ) | throws SAXException [inline] |
Feeds accumulated character data.
Whether or not the data is ignored, and what is done with it if it is not ignored, depends on flags that have been set.
| sURI | the Namespace URI (ignored) | |
| sLocalName | the local name (what this function looks at) | |
| sQName | the qualified (prefixed) name (ignored) |
| SAXException | if there are any problems. |
| void datavisualizer::DetailedOutputTimestepParseHandler::startElement | ( | java.lang.String | sURI, | |
| java.lang.String | sLocalName, | |||
| java.lang.String | sQName, | |||
| Attributes | oAttributes | |||
| ) | throws SAXException [inline] |
Called when the parser hits a new opening tag.
This is overridden from the base class. This function is interested in the following tags:
Tree settings information:
Grid settings information:
Grid data:
| sURI | the Namespace URI (ignored) | |
| sLocalName | the local name (what this function looks at) | |
| sQName | the qualified (prefixed) name (ignored) | |
| oAttributes | The tag's oAttributes |
| SAXException | if there are any problems. |
1.4.7