Overview Module Function Class Tea 3.1.0 Reference Documentation
© 2002 PDM&FC

Class TDocument

Method Summary
addNode node
         Specifies the root element for the XML document.
constructor
         Initializes the object internal state.
getNodeType
         Retrieves the type of this node object.
getRoot
         Fetches root element of this XML document.

Method Detail

addNode

TDocument addNode node

Specifies the root element for the XML document.

Parameters:
node - The root element for this XML document.
Returns:
A reference to the object for which this method was called.


constructor

TDocument constructor

Initializes the object internal state.


getNodeType

TDocument getNodeType

Retrieves the type of this node object.

Returns:
A symbol representing the type of this node object.

For the case of a TText the symbol Document is returned.

getRoot

TDocument getRoot

Fetches root element of this XML document.

Returns:
The root element of this XML document.

The root element was specified in the last call to the addNode method. If no calls to addNode have been made then a null will be returned.


Overview Module Function Class Tea 3.1.0 Reference Documentation
© 2002 PDM&FC
Report a bug or request new features
© 2002