1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
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">
8
DefaultRemoteCommand (Selenium RC Java Client Driver 1.0.1 API)
11
<META NAME="date" CONTENT="2009-06-09">
13
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
15
<SCRIPT type="text/javascript">
16
function windowTitle()
18
if (location.href.indexOf('is-external=true') == -1) {
19
parent.document.title="DefaultRemoteCommand (Selenium RC Java Client Driver 1.0.1 API)";
28
<BODY BGCOLOR="white" onload="windowTitle();">
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="">
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> </TD>
42
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
43
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
44
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/DefaultRemoteCommand.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
45
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
46
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
47
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
48
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
52
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
58
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
59
<A HREF="../../../com/thoughtworks/selenium/CommandProcessor.html" title="interface in com.thoughtworks.selenium"><B>PREV CLASS</B></A>
60
<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>
63
<A HREF="DefaultRemoteCommand.html" target="_top"><B>NO FRAMES</B></A>
64
<SCRIPT type="text/javascript">
67
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
72
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
79
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
80
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
81
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
82
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
85
<A NAME="skip-navbar_top"></A>
86
<!-- ========= END OF TOP NAVBAR ========= -->
89
<!-- ======== START OF CLASS DATA ======== -->
92
com.thoughtworks.selenium</FONT>
94
Class DefaultRemoteCommand</H2>
97
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.thoughtworks.selenium.DefaultRemoteCommand</B>
100
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../com/thoughtworks/selenium/RemoteCommand.html" title="interface in com.thoughtworks.selenium">RemoteCommand</A></DD>
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>
108
The default implementation of the RemoteCommand interface
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>
122
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
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>
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 command,
132
java.lang.String[] args)</CODE>
135
</TD>
139
<!-- ========== METHOD SUMMARY =========== -->
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>
147
<TR BGCOLOR="white" CLASS="TableRowColor">
148
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
149
<CODE> java.lang.String</CODE></FONT></TD>
150
<TD><CODE><B><A HREF="../../../com/thoughtworks/selenium/DefaultRemoteCommand.html#getCommandURLString()">getCommandURLString</A></B>()</CODE>
153
Return the URL query string which will be sent to the browser</TD>
155
<TR BGCOLOR="white" CLASS="TableRowColor">
156
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
157
<CODE>static <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 inputLine)</CODE>
161
Factory method to create a RemoteCommand from a wiki-style input string</TD>
163
<TR BGCOLOR="white" CLASS="TableRowColor">
164
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
165
<CODE> java.lang.String</CODE></FONT></TD>
166
<TD><CODE><B><A HREF="../../../com/thoughtworks/selenium/DefaultRemoteCommand.html#toString()">toString</A></B>()</CODE>
169
</TD>
171
<TR BGCOLOR="white" CLASS="TableRowColor">
172
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
173
<CODE>static 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 text)</CODE>
177
Encodes the text as an URL using UTF-8.</TD>
180
<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>
185
<TR BGCOLOR="white" CLASS="TableRowColor">
186
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
192
<!-- ========= CONSTRUCTOR DETAIL ======== -->
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>
202
<A NAME="DefaultRemoteCommand(java.lang.String, java.lang.String[])"><!-- --></A><H3>
203
DefaultRemoteCommand</H3>
205
public <B>DefaultRemoteCommand</B>(java.lang.String command,
206
java.lang.String[] args)</PRE>
210
<!-- ============ METHOD DETAIL ========== -->
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>
220
<A NAME="getCommandURLString()"><!-- --></A><H3>
221
getCommandURLString</H3>
223
public java.lang.String <B>getCommandURLString</B>()</PRE>
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
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>
237
<A NAME="toString()"><!-- --></A><H3>
240
public java.lang.String <B>toString</B>()</PRE>
243
<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
251
<A NAME="parse(java.lang.String)"><!-- --></A><H3>
254
public static <A HREF="../../../com/thoughtworks/selenium/RemoteCommand.html" title="interface in com.thoughtworks.selenium">RemoteCommand</A> <B>parse</B>(java.lang.String inputLine)</PRE>
256
<DD>Factory method to create a RemoteCommand from a wiki-style input string
267
<A NAME="urlEncode(java.lang.String)"><!-- --></A><H3>
270
public static java.lang.String <B>urlEncode</B>(java.lang.String text)</PRE>
272
<DD>Encodes the text as an URL using UTF-8.
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>
282
<!-- ========= END OF CLASS DATA ========= -->
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="">
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> </TD>
296
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
297
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
298
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/DefaultRemoteCommand.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
299
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
300
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
301
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
302
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
306
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
312
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
313
<A HREF="../../../com/thoughtworks/selenium/CommandProcessor.html" title="interface in com.thoughtworks.selenium"><B>PREV CLASS</B></A>
314
<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>
317
<A HREF="DefaultRemoteCommand.html" target="_top"><B>NO FRAMES</B></A>
318
<SCRIPT type="text/javascript">
321
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
326
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
333
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
334
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
335
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
336
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
339
<A NAME="skip-navbar_bottom"></A>
340
<!-- ======== END OF BOTTOM NAVBAR ======= -->
343
Copyright © 2009. All Rights Reserved.