Modules | Files | Inheritance Tree | Inheritance Graph | Name Index
module GNOME::Speech::Recognition
interface RuleSequence
Files: GNOME_Speech.idl
GNOME-Speech-Recognition-RuleSequence-inheritance GNOME-Speech-Recognition-Rule.html GNOME-Speech-SpeechObject.html Bonobo-Unknown.html
Operations Summary:
 voidinitWithSubRule(in Rule rule)
 voidinitWithTokenArray(in StringArray tokens)
 voidinitWithSubRuleArray(in RuleArray rules)
 voidappend(in Rule rule)
RuleArraygetRules()
 voidsetRules(in RuleArray rules)

Operations Inherited from Rule
copy, toString

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

Operation Details:
 void initWithSubRule(in Rule rule)

Initialize a RuleSequence object containing a single Rule.

Parameters:
rule - the rule.


 void initWithTokenArray(in StringArray tokens)

Initializer for RuleSequence that is a sequence of strings that are converted to RuleTokens.

A string containing multiple words (e.g. "san francisco") is treated as a single token. If appropriate, an application should parse such strings to produce separate tokens.

The token list may be zero-length or null. This will produce a zero-length sequence which is equivalent to <NULL>.

Parameters:
tokens - a sequence of strings that are converted to RuleTokens.
See Also:
RuleToken


 void initWithSubRuleArray(in RuleArray rules)

Initializes a RuleSequence object with an array of sub-rules.

Parameters:
rules - an array of sub-rules.


 void append(in Rule rule)

Append a single rule to the end of the sequence.

Parameters:
rule - the rule.


RuleArray getRules()

Return the array of rules in the sequence.

Return:
the array of rules in the sequence.


 void setRules(in RuleArray rules)

Set the array of rules in the sequence. The array may be zero-length or null. This will produce a zero-length sequence which is equivalent to <NULL>.

Parameters:
rules - an array of rules.