Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

TreeBasedIQStanza Class Reference

This should be base class for all IQStanza specialization classes, which want to use tree2code trees. More...

Inheritance diagram for TreeBasedIQStanza:

Inheritance graph
[legend]
Collaboration diagram for TreeBasedIQStanza:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Protected Member Functions


Detailed Description

This should be base class for all IQStanza specialization classes, which want to use tree2code trees.


Constructor & Destructor Documentation

void TreeBasedIQStanza Object  tree,
Object  node,
Object  defaultValues,
Array< String >  recognizedFields
 

Create new TreeBasedIQStanza object.

Parameters:
tree Object with structure desribed in tree2code tree format description.
node Object with data for stanza. Can be JavaScript object or DOM Element.
defaultValues Values for missing data in node. (optional)
recognizedFields List of recognized fields, those fields will be copied from node. (optional)


Member Function Documentation

Element createNode void   )  [protected]
 

Create new DOM Element from data gathered in this stanza.

Returns:
Generateted DOM Element.

Reimplemented from TreeBasedStanza.


The documentation for this class was generated from the following file:
Generated on Tue Jan 4 01:03:51 2005 for JabberZilla by  doxygen 1.4.0