Overview Module Function Class Tea 3.2.4 Reference Documentation
© 2009 PDM&FC

Class TProcessingInstruction

Method Summary
constructor contents
         Initializes the object internal state and specifies the its data.
getData
         Fetches the data for this processing instruction.
getNodeType
         Retrieves the type of this node object.
getTarget
         Fetches the target for this processing instruction.

Method Detail

constructor

TProcessingInstruction constructor contents

Initializes the object internal state and specifies the its data.

Parameters:
data - A string representing the processing instruction data.
target - A string representing the processing instruction target.


getData

TProcessingInstruction getData

Fetches the data for this processing instruction.

Returns:
The string representing the data for this processing instruction. This is the same string that was received at constructor time.


getNodeType

TProcessingInstruction getNodeType

Retrieves the type of this node object.

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

For the case of a TElement the symbol ProcessingInstruction is returned.

getTarget

TProcessingInstruction getTarget

Fetches the target for this processing instruction.

Returns:
The string representing the target for this processing instruction. This is the same string that was received at constructor time.



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