Modules | Files | Inheritance Tree | Inheritance Graph | Name Index
module GNOME::Speech::Recognition
interface RuleTag
Files: GNOME_Speech.idl
GNOME-Speech-Recognition-RuleTag-inheritance GNOME-Speech-Recognition-Rule.html GNOME-Speech-SpeechObject.html Bonobo-Unknown.html
Operations Summary:
 voidinitWithRuleAndTag(in Rule rule, in string tag)
 RulegetRule()
 voidsetRule(in Rule rule)
 stringgetTag()
 voidsetTag(in string tag)

Operations Inherited from Rule
copy, toString

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

Operation Details:
 void initWithRuleAndTag(in Rule rule, in string tag)

Initialize a RuleTag with for Rule object with a tag string. The method assumes that pre-processing of grammar tags is complete (the leading and trailing curly braces are removed, escape characters are removed).

Parameters:
rule - the rule being tagged.
tag - the tag string.


 Rule getRule()

Returns the Rule object being tagged.

Return:
the Rule object being tagged.


 void setRule(in Rule rule)

Set the Rule object to be tagged.

Parameters:
rule - the rule.


 string getTag()

Returns the tag string.

Return:
the tag string.


 void setTag(in string tag)

Set the tag string for the Rule. A zero-length string is legal. A null tag is converted to "".

Parameters:
tag - the tag string for the Rule.