~testplan-team/testplan/source-collection

« back to all changes in this revision

Viewing changes to selenium-remote-control-1.0.1-dist/selenium-remote-control-1.0.1/selenium-java-client-driver-1.0.1/javadoc/com/thoughtworks/selenium/DefaultRemoteCommand.html

  • Committer: edA-qa mort-ora-y
  • Date: 2009-07-02 09:23:56 UTC
  • Revision ID: eda-qa@disemia.com-20090702092356-w9rxifuvlva3bk31
upgradingĀ selenium

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 
2
<!--NewPage-->
 
3
<HTML>
 
4
<HEAD>
 
5
<!-- Generated by javadoc (build 1.6.0_07) on Tue Jun 09 11:51:55 CDT 2009 -->
 
6
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
 
7
<TITLE>
 
8
DefaultRemoteCommand (Selenium RC Java Client Driver 1.0.1 API)
 
9
</TITLE>
 
10
 
 
11
<META NAME="date" CONTENT="2009-06-09">
 
12
 
 
13
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
 
14
 
 
15
<SCRIPT type="text/javascript">
 
16
function windowTitle()
 
17
{
 
18
    if (location.href.indexOf('is-external=true') == -1) {
 
19
        parent.document.title="DefaultRemoteCommand (Selenium RC Java Client Driver 1.0.1 API)";
 
20
    }
 
21
}
 
22
</SCRIPT>
 
23
<NOSCRIPT>
 
24
</NOSCRIPT>
 
25
 
 
26
</HEAD>
 
27
 
 
28
<BODY BGCOLOR="white" onload="windowTitle();">
 
29
<HR>
 
30
 
 
31
 
 
32
<!-- ========= START OF TOP NAVBAR ======= -->
 
33
<A NAME="navbar_top"><!-- --></A>
 
34
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
 
35
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
 
36
<TR>
 
37
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 
38
<A NAME="navbar_top_firstrow"><!-- --></A>
 
39
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
 
40
  <TR ALIGN="center" VALIGN="top">
 
41
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
 
42
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 
43
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
 
44
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/DefaultRemoteCommand.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
 
45
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
 
46
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
 
47
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 
48
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
 
49
  </TR>
 
50
</TABLE>
 
51
</TD>
 
52
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 
53
</EM>
 
54
</TD>
 
55
</TR>
 
56
 
 
57
<TR>
 
58
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 
59
&nbsp;<A HREF="../../../com/thoughtworks/selenium/CommandProcessor.html" title="interface in com.thoughtworks.selenium"><B>PREV CLASS</B></A>&nbsp;
 
60
&nbsp;<A HREF="../../../com/thoughtworks/selenium/DefaultSelenium.html" title="class in com.thoughtworks.selenium"><B>NEXT CLASS</B></A></FONT></TD>
 
61
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 
62
  <A HREF="../../../index.html?com/thoughtworks/selenium/DefaultRemoteCommand.html" target="_top"><B>FRAMES</B></A>  &nbsp;
 
63
&nbsp;<A HREF="DefaultRemoteCommand.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
 
64
&nbsp;<SCRIPT type="text/javascript">
 
65
  <!--
 
66
  if(window==top) {
 
67
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
 
68
  }
 
69
  //-->
 
70
</SCRIPT>
 
71
<NOSCRIPT>
 
72
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
 
73
</NOSCRIPT>
 
74
 
 
75
 
 
76
</FONT></TD>
 
77
</TR>
 
78
<TR>
 
79
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 
80
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
 
81
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 
82
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
 
83
</TR>
 
84
</TABLE>
 
85
<A NAME="skip-navbar_top"></A>
 
86
<!-- ========= END OF TOP NAVBAR ========= -->
 
87
 
 
88
<HR>
 
89
<!-- ======== START OF CLASS DATA ======== -->
 
90
<H2>
 
91
<FONT SIZE="-1">
 
92
com.thoughtworks.selenium</FONT>
 
93
<BR>
 
94
Class DefaultRemoteCommand</H2>
 
95
<PRE>
 
96
java.lang.Object
 
97
  <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.thoughtworks.selenium.DefaultRemoteCommand</B>
 
98
</PRE>
 
99
<DL>
 
100
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../com/thoughtworks/selenium/RemoteCommand.html" title="interface in com.thoughtworks.selenium">RemoteCommand</A></DD>
 
101
</DL>
 
102
<HR>
 
103
<DL>
 
104
<DT><PRE>public class <B>DefaultRemoteCommand</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../com/thoughtworks/selenium/RemoteCommand.html" title="interface in com.thoughtworks.selenium">RemoteCommand</A></DL>
 
105
</PRE>
 
106
 
 
107
<P>
 
108
The default implementation of the RemoteCommand interface
 
109
<P>
 
110
 
 
111
<P>
 
112
<DL>
 
113
<DT><B>Version:</B></DT>
 
114
  <DD>$Revision: 1647 $</DD>
 
115
<DT><B>Author:</B></DT>
 
116
  <DD>Paul Hammant</DD>
 
117
<DT><B>See Also:</B><DD><A HREF="../../../com/thoughtworks/selenium/RemoteCommand.html" title="interface in com.thoughtworks.selenium"><CODE>RemoteCommand</CODE></A></DL>
 
118
<HR>
 
119
 
 
120
<P>
 
121
 
 
122
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
 
123
 
 
124
<A NAME="constructor_summary"><!-- --></A>
 
125
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 
126
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
127
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
 
128
<B>Constructor Summary</B></FONT></TH>
 
129
</TR>
 
130
<TR BGCOLOR="white" CLASS="TableRowColor">
 
131
<TD><CODE><B><A HREF="../../../com/thoughtworks/selenium/DefaultRemoteCommand.html#DefaultRemoteCommand(java.lang.String, java.lang.String[])">DefaultRemoteCommand</A></B>(java.lang.String&nbsp;command,
 
132
                     java.lang.String[]&nbsp;args)</CODE>
 
133
 
 
134
<BR>
 
135
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
 
136
</TR>
 
137
</TABLE>
 
138
&nbsp;
 
139
<!-- ========== METHOD SUMMARY =========== -->
 
140
 
 
141
<A NAME="method_summary"><!-- --></A>
 
142
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 
143
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
144
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
 
145
<B>Method Summary</B></FONT></TH>
 
146
</TR>
 
147
<TR BGCOLOR="white" CLASS="TableRowColor">
 
148
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
149
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
 
150
<TD><CODE><B><A HREF="../../../com/thoughtworks/selenium/DefaultRemoteCommand.html#getCommandURLString()">getCommandURLString</A></B>()</CODE>
 
151
 
 
152
<BR>
 
153
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the URL query string which will be sent to the browser</TD>
 
154
</TR>
 
155
<TR BGCOLOR="white" CLASS="TableRowColor">
 
156
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
157
<CODE>static&nbsp;<A HREF="../../../com/thoughtworks/selenium/RemoteCommand.html" title="interface in com.thoughtworks.selenium">RemoteCommand</A></CODE></FONT></TD>
 
158
<TD><CODE><B><A HREF="../../../com/thoughtworks/selenium/DefaultRemoteCommand.html#parse(java.lang.String)">parse</A></B>(java.lang.String&nbsp;inputLine)</CODE>
 
159
 
 
160
<BR>
 
161
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Factory method to create a RemoteCommand from a wiki-style input string</TD>
 
162
</TR>
 
163
<TR BGCOLOR="white" CLASS="TableRowColor">
 
164
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
165
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
 
166
<TD><CODE><B><A HREF="../../../com/thoughtworks/selenium/DefaultRemoteCommand.html#toString()">toString</A></B>()</CODE>
 
167
 
 
168
<BR>
 
169
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
 
170
</TR>
 
171
<TR BGCOLOR="white" CLASS="TableRowColor">
 
172
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
173
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
 
174
<TD><CODE><B><A HREF="../../../com/thoughtworks/selenium/DefaultRemoteCommand.html#urlEncode(java.lang.String)">urlEncode</A></B>(java.lang.String&nbsp;text)</CODE>
 
175
 
 
176
<BR>
 
177
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Encodes the text as an URL using UTF-8.</TD>
 
178
</TR>
 
179
</TABLE>
 
180
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
 
181
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 
182
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
 
183
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
 
184
</TR>
 
185
<TR BGCOLOR="white" CLASS="TableRowColor">
 
186
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
 
187
</TR>
 
188
</TABLE>
 
189
&nbsp;
 
190
<P>
 
191
 
 
192
<!-- ========= CONSTRUCTOR DETAIL ======== -->
 
193
 
 
194
<A NAME="constructor_detail"><!-- --></A>
 
195
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 
196
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
197
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
 
198
<B>Constructor Detail</B></FONT></TH>
 
199
</TR>
 
200
</TABLE>
 
201
 
 
202
<A NAME="DefaultRemoteCommand(java.lang.String, java.lang.String[])"><!-- --></A><H3>
 
203
DefaultRemoteCommand</H3>
 
204
<PRE>
 
205
public <B>DefaultRemoteCommand</B>(java.lang.String&nbsp;command,
 
206
                            java.lang.String[]&nbsp;args)</PRE>
 
207
<DL>
 
208
</DL>
 
209
 
 
210
<!-- ============ METHOD DETAIL ========== -->
 
211
 
 
212
<A NAME="method_detail"><!-- --></A>
 
213
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
 
214
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
 
215
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
 
216
<B>Method Detail</B></FONT></TH>
 
217
</TR>
 
218
</TABLE>
 
219
 
 
220
<A NAME="getCommandURLString()"><!-- --></A><H3>
 
221
getCommandURLString</H3>
 
222
<PRE>
 
223
public java.lang.String <B>getCommandURLString</B>()</PRE>
 
224
<DL>
 
225
<DD><B>Description copied from interface: <CODE><A HREF="../../../com/thoughtworks/selenium/RemoteCommand.html#getCommandURLString()">RemoteCommand</A></CODE></B></DD>
 
226
<DD>Return the URL query string which will be sent to the browser
 
227
<P>
 
228
<DD><DL>
 
229
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../com/thoughtworks/selenium/RemoteCommand.html#getCommandURLString()">getCommandURLString</A></CODE> in interface <CODE><A HREF="../../../com/thoughtworks/selenium/RemoteCommand.html" title="interface in com.thoughtworks.selenium">RemoteCommand</A></CODE></DL>
 
230
</DD>
 
231
<DD><DL>
 
232
</DL>
 
233
</DD>
 
234
</DL>
 
235
<HR>
 
236
 
 
237
<A NAME="toString()"><!-- --></A><H3>
 
238
toString</H3>
 
239
<PRE>
 
240
public java.lang.String <B>toString</B>()</PRE>
 
241
<DL>
 
242
<DD><DL>
 
243
<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
 
244
</DD>
 
245
<DD><DL>
 
246
</DL>
 
247
</DD>
 
248
</DL>
 
249
<HR>
 
250
 
 
251
<A NAME="parse(java.lang.String)"><!-- --></A><H3>
 
252
parse</H3>
 
253
<PRE>
 
254
public static <A HREF="../../../com/thoughtworks/selenium/RemoteCommand.html" title="interface in com.thoughtworks.selenium">RemoteCommand</A> <B>parse</B>(java.lang.String&nbsp;inputLine)</PRE>
 
255
<DL>
 
256
<DD>Factory method to create a RemoteCommand from a wiki-style input string
 
257
<P>
 
258
<DD><DL>
 
259
</DL>
 
260
</DD>
 
261
<DD><DL>
 
262
</DL>
 
263
</DD>
 
264
</DL>
 
265
<HR>
 
266
 
 
267
<A NAME="urlEncode(java.lang.String)"><!-- --></A><H3>
 
268
urlEncode</H3>
 
269
<PRE>
 
270
public static java.lang.String <B>urlEncode</B>(java.lang.String&nbsp;text)</PRE>
 
271
<DL>
 
272
<DD>Encodes the text as an URL using UTF-8.
 
273
<P>
 
274
<DD><DL>
 
275
</DL>
 
276
</DD>
 
277
<DD><DL>
 
278
<DT><B>Parameters:</B><DD><CODE>text</CODE> - the text too encode
 
279
<DT><B>Returns:</B><DD>the encoded URI string<DT><B>See Also:</B><DD><CODE>URLEncoder.encode(java.lang.String, java.lang.String)</CODE></DL>
 
280
</DD>
 
281
</DL>
 
282
<!-- ========= END OF CLASS DATA ========= -->
 
283
<HR>
 
284
 
 
285
 
 
286
<!-- ======= START OF BOTTOM NAVBAR ====== -->
 
287
<A NAME="navbar_bottom"><!-- --></A>
 
288
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
 
289
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
 
290
<TR>
 
291
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
 
292
<A NAME="navbar_bottom_firstrow"><!-- --></A>
 
293
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
 
294
  <TR ALIGN="center" VALIGN="top">
 
295
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
 
296
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
 
297
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
 
298
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/DefaultRemoteCommand.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
 
299
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
 
300
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
 
301
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
 
302
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
 
303
  </TR>
 
304
</TABLE>
 
305
</TD>
 
306
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
 
307
</EM>
 
308
</TD>
 
309
</TR>
 
310
 
 
311
<TR>
 
312
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 
313
&nbsp;<A HREF="../../../com/thoughtworks/selenium/CommandProcessor.html" title="interface in com.thoughtworks.selenium"><B>PREV CLASS</B></A>&nbsp;
 
314
&nbsp;<A HREF="../../../com/thoughtworks/selenium/DefaultSelenium.html" title="class in com.thoughtworks.selenium"><B>NEXT CLASS</B></A></FONT></TD>
 
315
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
 
316
  <A HREF="../../../index.html?com/thoughtworks/selenium/DefaultRemoteCommand.html" target="_top"><B>FRAMES</B></A>  &nbsp;
 
317
&nbsp;<A HREF="DefaultRemoteCommand.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
 
318
&nbsp;<SCRIPT type="text/javascript">
 
319
  <!--
 
320
  if(window==top) {
 
321
    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
 
322
  }
 
323
  //-->
 
324
</SCRIPT>
 
325
<NOSCRIPT>
 
326
  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
 
327
</NOSCRIPT>
 
328
 
 
329
 
 
330
</FONT></TD>
 
331
</TR>
 
332
<TR>
 
333
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 
334
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
 
335
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
 
336
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
 
337
</TR>
 
338
</TABLE>
 
339
<A NAME="skip-navbar_bottom"></A>
 
340
<!-- ======== END OF BOTTOM NAVBAR ======= -->
 
341
 
 
342
<HR>
 
343
Copyright &#169; 2009. All Rights Reserved.
 
344
</BODY>
 
345
</HTML>