Modules | Files | Inheritance Tree | Inheritance Graph | Name Index
module GNOME::Speech::Recognition
interface RuleToken
Files: GNOME_Speech.idl
GNOME-Speech-Recognition-RuleToken-inheritance GNOME-Speech-Recognition-Rule.html GNOME-Speech-SpeechObject.html Bonobo-Unknown.html
Operations Summary:
 voidinit(in string text)
 stringgetText()
 voidsetText(in string text)

Operations Inherited from Rule
copy, toString

Operations Inherited from Bonobo::Unknown
ref, unref, queryInterface

Operation Details:
 void init(in string text)

Initialize a RuleToken with the speakable string. The string should not include the surrounding quotes or escapes of grammar tokens (except as necessary to properly format a Java string).

Parameters:
text - the speakable text string.


 string getText()

Get the text of the token. The returned string is not in grammar format (backslash and quote characters are not escaped and surrounding quote characters are not included). Use toString to obtain a grammar-compliant string.

See Also:
toString


 void setText(in string text)

Set the text.

Parameters:
text - the speakable text string.