KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > speech > types > ISpeechRecoGrammar


1 // GENERATED. DO NOT MODIFY
2
package speech.types;
3
4 import com4j.*;
5
6 /**
7  * ISpeechRecoGrammar Interface
8  */

9 @IID("{B6D6F79F-2158-4E50-B5BC-9A9CCD852A09}")
10 public interface ISpeechRecoGrammar extends Com4jObject {
11     /**
12      * Id
13      */

14     @VTID(7)
15     java.lang.Object JavaDoc id();
16
17     /**
18      * RecoContext
19      */

20     @VTID(8)
21     ISpeechRecoContext recoContext();
22
23     /**
24      * State
25      */

26     @VTID(9)
27     void state(
28         SpeechGrammarState state);
29
30     /**
31      * State
32      */

33     @VTID(10)
34     SpeechGrammarState state();
35
36     /**
37      * Rules
38      */

39     @VTID(11)
40     ISpeechGrammarRules rules();
41
42     /**
43      * Reset
44      */

45     @VTID(12)
46     void reset(
47         int newLanguage);
48
49     /**
50      * CmdLoadFromFile
51      */

52     @VTID(13)
53     void cmdLoadFromFile(
54         java.lang.String JavaDoc fileName,
55         SpeechLoadOption loadOption);
56
57     /**
58      * CmdLoadFromObject
59      */

60     @VTID(14)
61     void cmdLoadFromObject(
62         java.lang.String JavaDoc classId,
63         java.lang.String JavaDoc grammarName,
64         SpeechLoadOption loadOption);
65
66     /**
67      * CmdLoadFromResource
68      */

69     @VTID(15)
70     void cmdLoadFromResource(
71         int hModule,
72         java.lang.Object JavaDoc resourceName,
73         java.lang.Object JavaDoc resourceType,
74         int languageId,
75         SpeechLoadOption loadOption);
76
77     /**
78      * CmdLoadFromMemory
79      */

80     @VTID(16)
81     void cmdLoadFromMemory(
82         java.lang.Object JavaDoc grammarData,
83         SpeechLoadOption loadOption);
84
85     /**
86      * CmdLoadFromProprietaryGrammar
87      */

88     @VTID(17)
89     void cmdLoadFromProprietaryGrammar(
90         java.lang.String JavaDoc proprietaryGuid,
91         java.lang.String JavaDoc proprietaryString,
92         java.lang.Object JavaDoc proprietaryData,
93         SpeechLoadOption loadOption);
94
95     /**
96      * CmdSetRuleState
97      */

98     @VTID(18)
99     void cmdSetRuleState(
100         java.lang.String JavaDoc name,
101         SpeechRuleState state);
102
103     /**
104      * CmdSetRuleIdState
105      */

106     @VTID(19)
107     void cmdSetRuleIdState(
108         int ruleId,
109         SpeechRuleState state);
110
111     /**
112      * DictationLoad
113      */

114     @VTID(20)
115     void dictationLoad(
116         java.lang.String JavaDoc topicName,
117         SpeechLoadOption loadOption);
118
119     /**
120      * DictationUnload
121      */

122     @VTID(21)
123     void dictationUnload();
124
125     /**
126      * DictationSetState
127      */

128     @VTID(22)
129     void dictationSetState(
130         SpeechRuleState state);
131
132     /**
133      * SetWordSequenceData
134      */

135     @VTID(23)
136     void setWordSequenceData(
137         java.lang.String JavaDoc text,
138         int textLength,
139         ISpeechTextSelectionInformation info);
140
141     /**
142      * SetTextSelection
143      */

144     @VTID(24)
145     void setTextSelection(
146         ISpeechTextSelectionInformation info);
147
148     /**
149      * IsPronounceable
150      */

151     @VTID(25)
152     SpeechWordPronounceable isPronounceable(
153         java.lang.String JavaDoc word);
154
155 }
156
Popular Tags