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. |
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::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. |
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::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. |