datavisualizer::DetailedOutputTimestepParseHandler Class Reference

An object of this class will parse detailed output timestep files and pass the data to a DetailedOutputFileManager object. More...

List of all members.

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.


Detailed Description

An object of this class will parse detailed output timestep files and pass the data to a DetailedOutputFileManager object.

Copyright: Copyright (c) Charles D. Canham 2003

Company: Institute of Ecosystem Studies

Author:
Lora E. Murphy
Version:
1.0

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)
March 21, 2005: Fixed bug so we can differentiate between package and non-package grid data members (LEM)
March 20, 2006: Added grid package data parsing (LEM)


Constructor & Destructor Documentation

datavisualizer::DetailedOutputTimestepParseHandler::DetailedOutputTimestepParseHandler ( DetailedOutputFileManager  oData  )  [inline]

Constructor.

Parameters:
oData Parent detailed output file manager.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)


Member Function Documentation

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:

Tree data:

Grid settings information:

Grid data:

Parameters:
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
Exceptions:
SAXException if there are any problems.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)
March 21, 2005: Fixed a bug so that package members could be differentiated (LEM)

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.

Parameters:
sURI the Namespace URI (ignored)
sLocalName the local name (what this function looks at)
sQName the qualified (prefixed) name (ignored)
Exceptions:
SAXException if there are any problems.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)
March 21, 2005: Fixed a bug so that package members could be differentiated (LEM)

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.

Parameters:
ch The characters from the XML document.
start - The start position in the array.
length - The number of characters to read from the array.
Exceptions:
SAXException if any of the described cases above is true.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)


The documentation for this class was generated from the following file:
Generated on Thu May 24 09:34:52 2007 for SORTIE Java Interface by  doxygen 1.5.2