/lib/JSAP/doc/javadoc/com/martiansoftware/jsap/ant/ParameterConfiguration.html

https://bitbucket.org/arkban/somersault · HTML · 451 lines · 374 code · 52 blank · 25 comment · 0 complexity · 081270634af2bba9556054fa66015dd5 MD5 · raw file

  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.4.2_08) on Thu Aug 03 20:30:44 EDT 2006 -->
  6. <TITLE>
  7. ParameterConfiguration (JSAP: the Java Simple Argument Parser)
  8. </TITLE>
  9. <META NAME="keywords" CONTENT="com.martiansoftware.jsap.ant.ParameterConfiguration class">
  10. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
  11. <SCRIPT type="text/javascript">
  12. function windowTitle()
  13. {
  14. parent.document.title="ParameterConfiguration (JSAP: the Java Simple Argument Parser)";
  15. }
  16. </SCRIPT>
  17. </HEAD>
  18. <BODY BGCOLOR="white" onload="windowTitle();">
  19. <!-- ========= START OF TOP NAVBAR ======= -->
  20. <A NAME="navbar_top"><!-- --></A>
  21. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  22. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  23. <TR>
  24. <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  25. <A NAME="navbar_top_firstrow"><!-- --></A>
  26. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  27. <TR ALIGN="center" VALIGN="top">
  28. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  29. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  30. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  31. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  32. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  33. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  34. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  35. </TR>
  36. </TABLE>
  37. </TD>
  38. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  39. </EM>
  40. </TD>
  41. </TR>
  42. <TR>
  43. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  44. &nbsp;<A HREF="../../../../com/martiansoftware/jsap/ant/OptionConfiguration.html" title="class in com.martiansoftware.jsap.ant"><B>PREV CLASS</B></A>&nbsp;
  45. &nbsp;<A HREF="../../../../com/martiansoftware/jsap/ant/ParserProperty.html" title="class in com.martiansoftware.jsap.ant"><B>NEXT CLASS</B></A></FONT></TD>
  46. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  47. <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
  48. &nbsp;<A HREF="ParameterConfiguration.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  49. &nbsp;<SCRIPT type="text/javascript">
  50. <!--
  51. if(window==top) {
  52. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  53. }
  54. //-->
  55. </SCRIPT>
  56. <NOSCRIPT>
  57. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  58. </NOSCRIPT>
  59. </FONT></TD>
  60. </TR>
  61. <TR>
  62. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  63. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  64. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  65. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  66. </TR>
  67. </TABLE>
  68. <A NAME="skip-navbar_top"></A>
  69. <!-- ========= END OF TOP NAVBAR ========= -->
  70. <HR>
  71. <!-- ======== START OF CLASS DATA ======== -->
  72. <H2>
  73. <FONT SIZE="-1">
  74. com.martiansoftware.jsap.ant</FONT>
  75. <BR>
  76. Class ParameterConfiguration</H2>
  77. <PRE>
  78. <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>
  79. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>com.martiansoftware.jsap.ant.ParameterConfiguration</B>
  80. </PRE>
  81. <DL>
  82. <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../com/martiansoftware/jsap/ant/OptionConfiguration.html" title="class in com.martiansoftware.jsap.ant">OptionConfiguration</A>, <A HREF="../../../../com/martiansoftware/jsap/ant/SwitchConfiguration.html" title="class in com.martiansoftware.jsap.ant">SwitchConfiguration</A></DD>
  83. </DL>
  84. <HR>
  85. <DL>
  86. <DT>public abstract class <B>ParameterConfiguration</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></DL>
  87. <P>
  88. Stores/provides configuration data common to switches, flaggedoptions, and
  89. unflaggedoptions
  90. nested inside a jsap ant task.
  91. For detailed information on using the jsap task, see the documentation for
  92. JSAPAntTask.
  93. <P>
  94. <P>
  95. <DL>
  96. <DT><B>Author:</B></DT>
  97. <DD><a href="http://www.martiansoftware.com/contact.html">Marty Lamb</a></DD>
  98. <DT><B>See Also:</B><DD><A HREF="../../../../com/martiansoftware/jsap/ant/JSAPAntTask.html" title="class in com.martiansoftware.jsap.ant"><CODE>JSAPAntTask</CODE></A></DL>
  99. <HR>
  100. <P>
  101. <!-- ======== NESTED CLASS SUMMARY ======== -->
  102. <!-- =========== FIELD SUMMARY =========== -->
  103. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  104. <A NAME="constructor_summary"><!-- --></A>
  105. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  106. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  107. <TD COLSPAN=2><FONT SIZE="+2">
  108. <B>Constructor Summary</B></FONT></TD>
  109. </TR>
  110. <TR BGCOLOR="white" CLASS="TableRowColor">
  111. <TD><CODE><B><A HREF="../../../../com/martiansoftware/jsap/ant/ParameterConfiguration.html#ParameterConfiguration()">ParameterConfiguration</A></B>()</CODE>
  112. <BR>
  113. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a new ParameterConfiguration.</TD>
  114. </TR>
  115. </TABLE>
  116. &nbsp;
  117. <!-- ========== METHOD SUMMARY =========== -->
  118. <A NAME="method_summary"><!-- --></A>
  119. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  120. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  121. <TD COLSPAN=2><FONT SIZE="+2">
  122. <B>Method Summary</B></FONT></TD>
  123. </TR>
  124. <TR BGCOLOR="white" CLASS="TableRowColor">
  125. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  126. <CODE>&nbsp;void</CODE></FONT></TD>
  127. <TD><CODE><B><A HREF="../../../../com/martiansoftware/jsap/ant/ParameterConfiguration.html#addConfiguredDefault(com.martiansoftware.jsap.ant.DefaultValue)">addConfiguredDefault</A></B>(<A HREF="../../../../com/martiansoftware/jsap/ant/DefaultValue.html" title="class in com.martiansoftware.jsap.ant">DefaultValue</A>&nbsp;defaultValue)</CODE>
  128. <BR>
  129. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a configured default value to the current list of default values
  130. for this parameter.</TD>
  131. </TR>
  132. <TR BGCOLOR="white" CLASS="TableRowColor">
  133. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  134. <CODE>abstract &nbsp;void</CODE></FONT></TD>
  135. <TD><CODE><B><A HREF="../../../../com/martiansoftware/jsap/ant/ParameterConfiguration.html#createMethod(java.lang.String, java.io.PrintStream)">createMethod</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;methodName,
  136. <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/PrintStream.html" title="class or interface in java.io">PrintStream</A>&nbsp;out)</CODE>
  137. <BR>
  138. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates source code for a java method that creates a parameter matching
  139. this object's configuration.</TD>
  140. </TR>
  141. <TR BGCOLOR="white" CLASS="TableRowColor">
  142. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  143. <CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[]</CODE></FONT></TD>
  144. <TD><CODE><B><A HREF="../../../../com/martiansoftware/jsap/ant/ParameterConfiguration.html#getDefaults()">getDefaults</A></B>()</CODE>
  145. <BR>
  146. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an array of this parameter's default values, or a zero-length
  147. array if none exist.</TD>
  148. </TR>
  149. <TR BGCOLOR="white" CLASS="TableRowColor">
  150. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  151. <CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD>
  152. <TD><CODE><B><A HREF="../../../../com/martiansoftware/jsap/ant/ParameterConfiguration.html#getId()">getId</A></B>()</CODE>
  153. <BR>
  154. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the unique ID for this parameter.</TD>
  155. </TR>
  156. <TR BGCOLOR="white" CLASS="TableRowColor">
  157. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  158. <CODE>abstract &nbsp;<A HREF="../../../../com/martiansoftware/jsap/Parameter.html" title="class in com.martiansoftware.jsap">Parameter</A></CODE></FONT></TD>
  159. <TD><CODE><B><A HREF="../../../../com/martiansoftware/jsap/ant/ParameterConfiguration.html#getParameter()">getParameter</A></B>()</CODE>
  160. <BR>
  161. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an Parameter (String, FlaggedOption, or UnflaggedOption)
  162. configured according
  163. to the settings contained within this object.</TD>
  164. </TR>
  165. <TR BGCOLOR="white" CLASS="TableRowColor">
  166. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  167. <CODE>&nbsp;boolean</CODE></FONT></TD>
  168. <TD><CODE><B><A HREF="../../../../com/martiansoftware/jsap/ant/ParameterConfiguration.html#hasProperties()">hasProperties</A></B>()</CODE>
  169. <BR>
  170. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a boolean indicating whether this parameter has any properties
  171. associated with its
  172. StringParser.</TD>
  173. </TR>
  174. <TR BGCOLOR="white" CLASS="TableRowColor">
  175. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  176. <CODE>&nbsp;void</CODE></FONT></TD>
  177. <TD><CODE><B><A HREF="../../../../com/martiansoftware/jsap/ant/ParameterConfiguration.html#setDefault(java.lang.String)">setDefault</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;defaultValue)</CODE>
  178. <BR>
  179. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a default value to the current list of default values for this
  180. parameter.</TD>
  181. </TR>
  182. <TR BGCOLOR="white" CLASS="TableRowColor">
  183. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  184. <CODE>&nbsp;void</CODE></FONT></TD>
  185. <TD><CODE><B><A HREF="../../../../com/martiansoftware/jsap/ant/ParameterConfiguration.html#setId(java.lang.String)">setId</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;id)</CODE>
  186. <BR>
  187. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the unique ID for this parameter.</TD>
  188. </TR>
  189. </TABLE>
  190. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  191. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  192. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  193. <TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TD>
  194. </TR>
  195. <TR BGCOLOR="white" CLASS="TableRowColor">
  196. <TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
  197. </TR>
  198. </TABLE>
  199. &nbsp;
  200. <P>
  201. <!-- ============ FIELD DETAIL =========== -->
  202. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  203. <A NAME="constructor_detail"><!-- --></A>
  204. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  205. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  206. <TD COLSPAN=1><FONT SIZE="+2">
  207. <B>Constructor Detail</B></FONT></TD>
  208. </TR>
  209. </TABLE>
  210. <A NAME="ParameterConfiguration()"><!-- --></A><H3>
  211. ParameterConfiguration</H3>
  212. <PRE>
  213. public <B>ParameterConfiguration</B>()</PRE>
  214. <DL>
  215. <DD>Creates a new ParameterConfiguration.
  216. <P>
  217. </DL>
  218. <!-- ============ METHOD DETAIL ========== -->
  219. <A NAME="method_detail"><!-- --></A>
  220. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  221. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  222. <TD COLSPAN=1><FONT SIZE="+2">
  223. <B>Method Detail</B></FONT></TD>
  224. </TR>
  225. </TABLE>
  226. <A NAME="getParameter()"><!-- --></A><H3>
  227. getParameter</H3>
  228. <PRE>
  229. public abstract <A HREF="../../../../com/martiansoftware/jsap/Parameter.html" title="class in com.martiansoftware.jsap">Parameter</A> <B>getParameter</B>()</PRE>
  230. <DL>
  231. <DD>Returns an Parameter (String, FlaggedOption, or UnflaggedOption)
  232. configured according
  233. to the settings contained within this object.
  234. <P>
  235. <DD><DL>
  236. <DT><B>Returns:</B><DD>an Parameter (String, FlaggedOption, or UnflaggedOption)
  237. configured according
  238. to the settings contained within this object.</DL>
  239. </DD>
  240. </DL>
  241. <HR>
  242. <A NAME="setId(java.lang.String)"><!-- --></A><H3>
  243. setId</H3>
  244. <PRE>
  245. public void <B>setId</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;id)</PRE>
  246. <DL>
  247. <DD>Sets the unique ID for this parameter.
  248. <P>
  249. <DD><DL>
  250. <DT><B>Parameters:</B><DD><CODE>id</CODE> - ths unique ID for this parameter.</DL>
  251. </DD>
  252. </DL>
  253. <HR>
  254. <A NAME="getId()"><!-- --></A><H3>
  255. getId</H3>
  256. <PRE>
  257. public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getId</B>()</PRE>
  258. <DL>
  259. <DD>Returns the unique ID for this parameter.
  260. <P>
  261. <DD><DL>
  262. <DT><B>Returns:</B><DD>the unique ID for this parameter.</DL>
  263. </DD>
  264. </DL>
  265. <HR>
  266. <A NAME="setDefault(java.lang.String)"><!-- --></A><H3>
  267. setDefault</H3>
  268. <PRE>
  269. public void <B>setDefault</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;defaultValue)</PRE>
  270. <DL>
  271. <DD>Adds a default value to the current list of default values for this
  272. parameter.
  273. <P>
  274. <DD><DL>
  275. <DT><B>Parameters:</B><DD><CODE>defaultValue</CODE> - the default value to add to the current list of
  276. default values for this parameter.</DL>
  277. </DD>
  278. </DL>
  279. <HR>
  280. <A NAME="addConfiguredDefault(com.martiansoftware.jsap.ant.DefaultValue)"><!-- --></A><H3>
  281. addConfiguredDefault</H3>
  282. <PRE>
  283. public void <B>addConfiguredDefault</B>(<A HREF="../../../../com/martiansoftware/jsap/ant/DefaultValue.html" title="class in com.martiansoftware.jsap.ant">DefaultValue</A>&nbsp;defaultValue)</PRE>
  284. <DL>
  285. <DD>Adds a configured default value to the current list of default values
  286. for this parameter.
  287. <P>
  288. <DD><DL>
  289. <DT><B>Parameters:</B><DD><CODE>defaultValue</CODE> - the configured default value to add to the current
  290. list of default
  291. values for this parameter.</DL>
  292. </DD>
  293. </DL>
  294. <HR>
  295. <A NAME="getDefaults()"><!-- --></A><H3>
  296. getDefaults</H3>
  297. <PRE>
  298. public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>[] <B>getDefaults</B>()</PRE>
  299. <DL>
  300. <DD>Returns an array of this parameter's default values, or a zero-length
  301. array if none exist.
  302. <P>
  303. <DD><DL>
  304. <DT><B>Returns:</B><DD>an array of this parameter's default values, or a zero-length
  305. array if none exist.</DL>
  306. </DD>
  307. </DL>
  308. <HR>
  309. <A NAME="hasProperties()"><!-- --></A><H3>
  310. hasProperties</H3>
  311. <PRE>
  312. public boolean <B>hasProperties</B>()</PRE>
  313. <DL>
  314. <DD>Returns a boolean indicating whether this parameter has any properties
  315. associated with its
  316. StringParser. This method always returns false; it may be overridden by
  317. subclasses.
  318. <P>
  319. <DD><DL>
  320. <DT><B>Returns:</B><DD>a boolean indicating whether this parameter has any properties
  321. associated with its
  322. StringParser.</DL>
  323. </DD>
  324. </DL>
  325. <HR>
  326. <A NAME="createMethod(java.lang.String, java.io.PrintStream)"><!-- --></A><H3>
  327. createMethod</H3>
  328. <PRE>
  329. public abstract void <B>createMethod</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;methodName,
  330. <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/PrintStream.html" title="class or interface in java.io">PrintStream</A>&nbsp;out)
  331. throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>
  332. <DL>
  333. <DD>Creates source code for a java method that creates a parameter matching
  334. this object's configuration.
  335. <P>
  336. <DD><DL>
  337. <DT><B>Parameters:</B><DD><CODE>methodName</CODE> - the name of the java method to generate.<DD><CODE>out</CODE> - the PrintStream to which the generated source code should be
  338. written.
  339. <DT><B>Throws:</B>
  340. <DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - if any are thrown by PrintStream.</DL>
  341. </DD>
  342. </DL>
  343. <!-- ========= END OF CLASS DATA ========= -->
  344. <HR>
  345. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  346. <A NAME="navbar_bottom"><!-- --></A>
  347. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  348. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  349. <TR>
  350. <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  351. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  352. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  353. <TR ALIGN="center" VALIGN="top">
  354. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  355. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  356. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  357. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  358. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  359. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  360. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  361. </TR>
  362. </TABLE>
  363. </TD>
  364. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  365. </EM>
  366. </TD>
  367. </TR>
  368. <TR>
  369. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  370. &nbsp;<A HREF="../../../../com/martiansoftware/jsap/ant/OptionConfiguration.html" title="class in com.martiansoftware.jsap.ant"><B>PREV CLASS</B></A>&nbsp;
  371. &nbsp;<A HREF="../../../../com/martiansoftware/jsap/ant/ParserProperty.html" title="class in com.martiansoftware.jsap.ant"><B>NEXT CLASS</B></A></FONT></TD>
  372. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  373. <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
  374. &nbsp;<A HREF="ParameterConfiguration.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  375. &nbsp;<SCRIPT type="text/javascript">
  376. <!--
  377. if(window==top) {
  378. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  379. }
  380. //-->
  381. </SCRIPT>
  382. <NOSCRIPT>
  383. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  384. </NOSCRIPT>
  385. </FONT></TD>
  386. </TR>
  387. <TR>
  388. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  389. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  390. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  391. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  392. </TR>
  393. </TABLE>
  394. <A NAME="skip-navbar_bottom"></A>
  395. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  396. <HR>
  397. Copyright &copy; 2002-2006, Martian Software, Inc.. All Rights Reserved.<br>For the latest version and documentation, please visit <a href='http://www.martiansoftware.com/jsap'>http://www.martiansoftware.com/jsap</a>
  398. </BODY>
  399. </HTML>