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_13) on Mon Oct 01 14:33:33 NZST 2007 -->
|
---|
6 | <TITLE>
|
---|
7 | ExtendSelector (Apache Ant API)
|
---|
8 | </TITLE>
|
---|
9 |
|
---|
10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.types.selectors.ExtendSelector class">
|
---|
11 |
|
---|
12 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style">
|
---|
13 |
|
---|
14 | <SCRIPT type="text/javascript">
|
---|
15 | function windowTitle()
|
---|
16 | {
|
---|
17 | parent.document.title="ExtendSelector (Apache Ant API)";
|
---|
18 | }
|
---|
19 | </SCRIPT>
|
---|
20 |
|
---|
21 | </HEAD>
|
---|
22 |
|
---|
23 | <BODY BGCOLOR="white" onload="windowTitle();">
|
---|
24 |
|
---|
25 |
|
---|
26 | <!-- ========= START OF TOP NAVBAR ======= -->
|
---|
27 | <A NAME="navbar_top"><!-- --></A>
|
---|
28 | <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
---|
29 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
30 | <TR>
|
---|
31 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
32 | <A NAME="navbar_top_firstrow"><!-- --></A>
|
---|
33 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
34 | <TR ALIGN="center" VALIGN="top">
|
---|
35 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
36 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
37 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
38 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
39 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
42 | </TR>
|
---|
43 | </TABLE>
|
---|
44 | </TD>
|
---|
45 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
46 | </EM>
|
---|
47 | </TD>
|
---|
48 | </TR>
|
---|
49 |
|
---|
50 | <TR>
|
---|
51 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
52 | <A HREF="../../../../../../org/apache/tools/ant/types/selectors/DifferentSelector.html" title="class in org.apache.tools.ant.types.selectors"><B>PREV CLASS</B></A>
|
---|
53 | <A HREF="../../../../../../org/apache/tools/ant/types/selectors/FilenameSelector.html" title="class in org.apache.tools.ant.types.selectors"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
54 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
55 | <A HREF="../../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
56 | <A HREF="ExtendSelector.html" target="_top"><B>NO FRAMES</B></A>
|
---|
57 | <SCRIPT type="text/javascript">
|
---|
58 | <!--
|
---|
59 | if(window==top) {
|
---|
60 | document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
61 | }
|
---|
62 | //-->
|
---|
63 | </SCRIPT>
|
---|
64 | <NOSCRIPT>
|
---|
65 | <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
66 | </NOSCRIPT>
|
---|
67 |
|
---|
68 | </FONT></TD>
|
---|
69 | </TR>
|
---|
70 | <TR>
|
---|
71 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
72 | SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_org.apache.tools.ant.types.DataType">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
73 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
74 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
75 | </TR>
|
---|
76 | </TABLE>
|
---|
77 | <A NAME="skip-navbar_top"></A>
|
---|
78 | <!-- ========= END OF TOP NAVBAR ========= -->
|
---|
79 |
|
---|
80 | <HR>
|
---|
81 | <!-- ======== START OF CLASS DATA ======== -->
|
---|
82 | <H2>
|
---|
83 | <FONT SIZE="-1">
|
---|
84 | org.apache.tools.ant.types.selectors</FONT>
|
---|
85 | <BR>
|
---|
86 | Class ExtendSelector</H2>
|
---|
87 | <PRE>
|
---|
88 | java.lang.Object
|
---|
89 | <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">org.apache.tools.ant.ProjectComponent</A>
|
---|
90 | <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../../org/apache/tools/ant/types/DataType.html" title="class in org.apache.tools.ant.types">org.apache.tools.ant.types.DataType</A>
|
---|
91 | <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseSelector.html" title="class in org.apache.tools.ant.types.selectors">org.apache.tools.ant.types.selectors.BaseSelector</A>
|
---|
92 | <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.types.selectors.ExtendSelector</B>
|
---|
93 | </PRE>
|
---|
94 | <DL>
|
---|
95 | <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../../org/apache/tools/ant/types/selectors/FileSelector.html" title="interface in org.apache.tools.ant.types.selectors">FileSelector</A></DD>
|
---|
96 | </DL>
|
---|
97 | <HR>
|
---|
98 | <DL>
|
---|
99 | <DT>public class <B>ExtendSelector</B><DT>extends <A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseSelector.html" title="class in org.apache.tools.ant.types.selectors">BaseSelector</A></DL>
|
---|
100 |
|
---|
101 | <P>
|
---|
102 | Selector that selects files by forwarding the request on to other classes.
|
---|
103 | <P>
|
---|
104 |
|
---|
105 | <P>
|
---|
106 | <DL>
|
---|
107 | <DT><B>Since:</B></DT>
|
---|
108 | <DD>1.5</DD>
|
---|
109 | </DL>
|
---|
110 | <HR>
|
---|
111 |
|
---|
112 | <P>
|
---|
113 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
114 |
|
---|
115 |
|
---|
116 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
117 |
|
---|
118 | <A NAME="field_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>Field Summary</B></FONT></TD>
|
---|
123 | </TR>
|
---|
124 | </TABLE>
|
---|
125 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.types.DataType"><!-- --></A>
|
---|
126 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
127 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
128 | <TD><B>Fields inherited from class org.apache.tools.ant.types.<A HREF="../../../../../../org/apache/tools/ant/types/DataType.html" title="class in org.apache.tools.ant.types">DataType</A></B></TD>
|
---|
129 | </TR>
|
---|
130 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
131 | <TD><CODE><A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#checked">checked</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#description">description</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#ref">ref</A></CODE></TD>
|
---|
132 | </TR>
|
---|
133 | </TABLE>
|
---|
134 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
135 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
136 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
137 | <TD><B>Fields inherited from class org.apache.tools.ant.<A HREF="../../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">ProjectComponent</A></B></TD>
|
---|
138 | </TR>
|
---|
139 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
140 | <TD><CODE><A HREF="../../../../../../org/apache/tools/ant/ProjectComponent.html#project">project</A></CODE></TD>
|
---|
141 | </TR>
|
---|
142 | </TABLE>
|
---|
143 |
|
---|
144 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
145 |
|
---|
146 | <A NAME="constructor_summary"><!-- --></A>
|
---|
147 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
148 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
149 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
150 | <B>Constructor Summary</B></FONT></TD>
|
---|
151 | </TR>
|
---|
152 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
153 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/types/selectors/ExtendSelector.html#ExtendSelector()">ExtendSelector</A></B>()</CODE>
|
---|
154 |
|
---|
155 | <BR>
|
---|
156 | Default constructor.</TD>
|
---|
157 | </TR>
|
---|
158 | </TABLE>
|
---|
159 |
|
---|
160 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
161 |
|
---|
162 | <A NAME="method_summary"><!-- --></A>
|
---|
163 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
164 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
165 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
166 | <B>Method Summary</B></FONT></TD>
|
---|
167 | </TR>
|
---|
168 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
169 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
170 | <CODE> void</CODE></FONT></TD>
|
---|
171 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/types/selectors/ExtendSelector.html#addParam(org.apache.tools.ant.types.Parameter)">addParam</A></B>(<A HREF="../../../../../../org/apache/tools/ant/types/Parameter.html" title="class in org.apache.tools.ant.types">Parameter</A> p)</CODE>
|
---|
172 |
|
---|
173 | <BR>
|
---|
174 | Create new parameters to pass to custom selector.</TD>
|
---|
175 | </TR>
|
---|
176 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
177 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
178 | <CODE> <A HREF="../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A></CODE></FONT></TD>
|
---|
179 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/types/selectors/ExtendSelector.html#createClasspath()">createClasspath</A></B>()</CODE>
|
---|
180 |
|
---|
181 | <BR>
|
---|
182 | Specify the classpath to use to load the Selector (nested element).</TD>
|
---|
183 | </TR>
|
---|
184 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
185 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
186 | <CODE> <A HREF="../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A></CODE></FONT></TD>
|
---|
187 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/types/selectors/ExtendSelector.html#getClasspath()">getClasspath</A></B>()</CODE>
|
---|
188 |
|
---|
189 | <BR>
|
---|
190 | Get the classpath</TD>
|
---|
191 | </TR>
|
---|
192 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
193 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
194 | <CODE> boolean</CODE></FONT></TD>
|
---|
195 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/types/selectors/ExtendSelector.html#isSelected(java.io.File, java.lang.String, java.io.File)">isSelected</A></B>(java.io.File basedir,
|
---|
196 | java.lang.String filename,
|
---|
197 | java.io.File file)</CODE>
|
---|
198 |
|
---|
199 | <BR>
|
---|
200 | Allows the custom selector to choose whether to select a file.</TD>
|
---|
201 | </TR>
|
---|
202 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
203 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
204 | <CODE> void</CODE></FONT></TD>
|
---|
205 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/types/selectors/ExtendSelector.html#selectorCreate()">selectorCreate</A></B>()</CODE>
|
---|
206 |
|
---|
207 | <BR>
|
---|
208 | Instantiates the identified custom selector class.</TD>
|
---|
209 | </TR>
|
---|
210 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
211 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
212 | <CODE> void</CODE></FONT></TD>
|
---|
213 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/types/selectors/ExtendSelector.html#setClassname(java.lang.String)">setClassname</A></B>(java.lang.String classname)</CODE>
|
---|
214 |
|
---|
215 | <BR>
|
---|
216 | Sets the classname of the custom selector.</TD>
|
---|
217 | </TR>
|
---|
218 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
219 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
220 | <CODE> void</CODE></FONT></TD>
|
---|
221 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/types/selectors/ExtendSelector.html#setClasspath(org.apache.tools.ant.types.Path)">setClasspath</A></B>(<A HREF="../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> classpath)</CODE>
|
---|
222 |
|
---|
223 | <BR>
|
---|
224 | Set the classpath to load the classname specified using an attribute.</TD>
|
---|
225 | </TR>
|
---|
226 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
227 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
228 | <CODE> void</CODE></FONT></TD>
|
---|
229 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/types/selectors/ExtendSelector.html#setClasspathref(org.apache.tools.ant.types.Reference)">setClasspathref</A></B>(<A HREF="../../../../../../org/apache/tools/ant/types/Reference.html" title="class in org.apache.tools.ant.types">Reference</A> r)</CODE>
|
---|
230 |
|
---|
231 | <BR>
|
---|
232 | Set the classpath to use for loading a custom selector by using
|
---|
233 | a reference.</TD>
|
---|
234 | </TR>
|
---|
235 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
236 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
237 | <CODE> void</CODE></FONT></TD>
|
---|
238 | <TD><CODE><B><A HREF="../../../../../../org/apache/tools/ant/types/selectors/ExtendSelector.html#verifySettings()">verifySettings</A></B>()</CODE>
|
---|
239 |
|
---|
240 | <BR>
|
---|
241 | These are errors specific to ExtendSelector only.</TD>
|
---|
242 | </TR>
|
---|
243 | </TABLE>
|
---|
244 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.types.selectors.BaseSelector"><!-- --></A>
|
---|
245 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
246 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
247 | <TD><B>Methods inherited from class org.apache.tools.ant.types.selectors.<A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseSelector.html" title="class in org.apache.tools.ant.types.selectors">BaseSelector</A></B></TD>
|
---|
248 | </TR>
|
---|
249 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
250 | <TD><CODE><A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseSelector.html#getError()">getError</A>, <A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseSelector.html#setError(java.lang.String)">setError</A>, <A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseSelector.html#validate()">validate</A></CODE></TD>
|
---|
251 | </TR>
|
---|
252 | </TABLE>
|
---|
253 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.types.DataType"><!-- --></A>
|
---|
254 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
255 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
256 | <TD><B>Methods inherited from class org.apache.tools.ant.types.<A HREF="../../../../../../org/apache/tools/ant/types/DataType.html" title="class in org.apache.tools.ant.types">DataType</A></B></TD>
|
---|
257 | </TR>
|
---|
258 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
259 | <TD><CODE><A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#checkAttributesAllowed()">checkAttributesAllowed</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#checkChildrenAllowed()">checkChildrenAllowed</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#circularReference()">circularReference</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#dieOnCircularReference(java.util.Stack, org.apache.tools.ant.Project)">dieOnCircularReference</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#getCheckedRef(java.lang.Class, java.lang.String)">getCheckedRef</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#getDescription()">getDescription</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#getRefid()">getRefid</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#isChecked()">isChecked</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#isReference()">isReference</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#noChildrenAllowed()">noChildrenAllowed</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#setChecked(boolean)">setChecked</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#setDescription(java.lang.String)">setDescription</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#setRefid(org.apache.tools.ant.types.Reference)">setRefid</A>, <A HREF="../../../../../../org/apache/tools/ant/types/DataType.html#tooManyAttributes()">tooManyAttributes</A></CODE></TD>
|
---|
260 | </TR>
|
---|
261 | </TABLE>
|
---|
262 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
263 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
264 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
265 | <TD><B>Methods inherited from class org.apache.tools.ant.<A HREF="../../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">ProjectComponent</A></B></TD>
|
---|
266 | </TR>
|
---|
267 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
268 | <TD><CODE><A HREF="../../../../../../org/apache/tools/ant/ProjectComponent.html#getProject()">getProject</A>, <A HREF="../../../../../../org/apache/tools/ant/ProjectComponent.html#log(java.lang.String)">log</A>, <A HREF="../../../../../../org/apache/tools/ant/ProjectComponent.html#log(java.lang.String, int)">log</A>, <A HREF="../../../../../../org/apache/tools/ant/ProjectComponent.html#setProject(org.apache.tools.ant.Project)">setProject</A></CODE></TD>
|
---|
269 | </TR>
|
---|
270 | </TABLE>
|
---|
271 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
272 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
273 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
274 | <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
---|
275 | </TR>
|
---|
276 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
277 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
---|
278 | </TR>
|
---|
279 | </TABLE>
|
---|
280 |
|
---|
281 | <P>
|
---|
282 |
|
---|
283 | <!-- ============ FIELD DETAIL =========== -->
|
---|
284 |
|
---|
285 |
|
---|
286 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
287 |
|
---|
288 | <A NAME="constructor_detail"><!-- --></A>
|
---|
289 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
290 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
291 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
292 | <B>Constructor Detail</B></FONT></TD>
|
---|
293 | </TR>
|
---|
294 | </TABLE>
|
---|
295 |
|
---|
296 | <A NAME="ExtendSelector()"><!-- --></A><H3>
|
---|
297 | ExtendSelector</H3>
|
---|
298 | <PRE>
|
---|
299 | public <B>ExtendSelector</B>()</PRE>
|
---|
300 | <DL>
|
---|
301 | <DD>Default constructor.
|
---|
302 | <P>
|
---|
303 | </DL>
|
---|
304 |
|
---|
305 | <!-- ============ METHOD DETAIL ========== -->
|
---|
306 |
|
---|
307 | <A NAME="method_detail"><!-- --></A>
|
---|
308 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
309 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
310 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
311 | <B>Method Detail</B></FONT></TD>
|
---|
312 | </TR>
|
---|
313 | </TABLE>
|
---|
314 |
|
---|
315 | <A NAME="setClassname(java.lang.String)"><!-- --></A><H3>
|
---|
316 | setClassname</H3>
|
---|
317 | <PRE>
|
---|
318 | public void <B>setClassname</B>(java.lang.String classname)</PRE>
|
---|
319 | <DL>
|
---|
320 | <DD>Sets the classname of the custom selector.
|
---|
321 | <P>
|
---|
322 | <DD><DL>
|
---|
323 | <DT><B>Parameters:</B><DD><CODE>classname</CODE> - is the class which implements this selector</DL>
|
---|
324 | </DD>
|
---|
325 | </DL>
|
---|
326 | <HR>
|
---|
327 |
|
---|
328 | <A NAME="selectorCreate()"><!-- --></A><H3>
|
---|
329 | selectorCreate</H3>
|
---|
330 | <PRE>
|
---|
331 | public void <B>selectorCreate</B>()</PRE>
|
---|
332 | <DL>
|
---|
333 | <DD>Instantiates the identified custom selector class.
|
---|
334 | <P>
|
---|
335 | <DD><DL>
|
---|
336 | </DL>
|
---|
337 | </DD>
|
---|
338 | </DL>
|
---|
339 | <HR>
|
---|
340 |
|
---|
341 | <A NAME="addParam(org.apache.tools.ant.types.Parameter)"><!-- --></A><H3>
|
---|
342 | addParam</H3>
|
---|
343 | <PRE>
|
---|
344 | public void <B>addParam</B>(<A HREF="../../../../../../org/apache/tools/ant/types/Parameter.html" title="class in org.apache.tools.ant.types">Parameter</A> p)</PRE>
|
---|
345 | <DL>
|
---|
346 | <DD>Create new parameters to pass to custom selector.
|
---|
347 | <P>
|
---|
348 | <DD><DL>
|
---|
349 | <DT><B>Parameters:</B><DD><CODE>p</CODE> - The new Parameter object</DL>
|
---|
350 | </DD>
|
---|
351 | </DL>
|
---|
352 | <HR>
|
---|
353 |
|
---|
354 | <A NAME="setClasspath(org.apache.tools.ant.types.Path)"><!-- --></A><H3>
|
---|
355 | setClasspath</H3>
|
---|
356 | <PRE>
|
---|
357 | public final void <B>setClasspath</B>(<A HREF="../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> classpath)</PRE>
|
---|
358 | <DL>
|
---|
359 | <DD>Set the classpath to load the classname specified using an attribute.
|
---|
360 | <P>
|
---|
361 | <DD><DL>
|
---|
362 | <DT><B>Parameters:</B><DD><CODE>classpath</CODE> - the classpath to use</DL>
|
---|
363 | </DD>
|
---|
364 | </DL>
|
---|
365 | <HR>
|
---|
366 |
|
---|
367 | <A NAME="createClasspath()"><!-- --></A><H3>
|
---|
368 | createClasspath</H3>
|
---|
369 | <PRE>
|
---|
370 | public final <A HREF="../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> <B>createClasspath</B>()</PRE>
|
---|
371 | <DL>
|
---|
372 | <DD>Specify the classpath to use to load the Selector (nested element).
|
---|
373 | <P>
|
---|
374 | <DD><DL>
|
---|
375 |
|
---|
376 | <DT><B>Returns:</B><DD>a classpath to be configured</DL>
|
---|
377 | </DD>
|
---|
378 | </DL>
|
---|
379 | <HR>
|
---|
380 |
|
---|
381 | <A NAME="getClasspath()"><!-- --></A><H3>
|
---|
382 | getClasspath</H3>
|
---|
383 | <PRE>
|
---|
384 | public final <A HREF="../../../../../../org/apache/tools/ant/types/Path.html" title="class in org.apache.tools.ant.types">Path</A> <B>getClasspath</B>()</PRE>
|
---|
385 | <DL>
|
---|
386 | <DD>Get the classpath
|
---|
387 | <P>
|
---|
388 | <DD><DL>
|
---|
389 |
|
---|
390 | <DT><B>Returns:</B><DD>the classpath</DL>
|
---|
391 | </DD>
|
---|
392 | </DL>
|
---|
393 | <HR>
|
---|
394 |
|
---|
395 | <A NAME="setClasspathref(org.apache.tools.ant.types.Reference)"><!-- --></A><H3>
|
---|
396 | setClasspathref</H3>
|
---|
397 | <PRE>
|
---|
398 | public void <B>setClasspathref</B>(<A HREF="../../../../../../org/apache/tools/ant/types/Reference.html" title="class in org.apache.tools.ant.types">Reference</A> r)</PRE>
|
---|
399 | <DL>
|
---|
400 | <DD>Set the classpath to use for loading a custom selector by using
|
---|
401 | a reference.
|
---|
402 | <P>
|
---|
403 | <DD><DL>
|
---|
404 | <DT><B>Parameters:</B><DD><CODE>r</CODE> - a reference to the classpath</DL>
|
---|
405 | </DD>
|
---|
406 | </DL>
|
---|
407 | <HR>
|
---|
408 |
|
---|
409 | <A NAME="verifySettings()"><!-- --></A><H3>
|
---|
410 | verifySettings</H3>
|
---|
411 | <PRE>
|
---|
412 | public void <B>verifySettings</B>()</PRE>
|
---|
413 | <DL>
|
---|
414 | <DD>These are errors specific to ExtendSelector only. If there are
|
---|
415 | errors in the custom selector, it should throw a BuildException
|
---|
416 | when isSelected() is called.
|
---|
417 | <P>
|
---|
418 | <DD><DL>
|
---|
419 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseSelector.html#verifySettings()">verifySettings</A></CODE> in class <CODE><A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseSelector.html" title="class in org.apache.tools.ant.types.selectors">BaseSelector</A></CODE></DL>
|
---|
420 | </DD>
|
---|
421 | <DD><DL>
|
---|
422 | </DL>
|
---|
423 | </DD>
|
---|
424 | </DL>
|
---|
425 | <HR>
|
---|
426 |
|
---|
427 | <A NAME="isSelected(java.io.File, java.lang.String, java.io.File)"><!-- --></A><H3>
|
---|
428 | isSelected</H3>
|
---|
429 | <PRE>
|
---|
430 | public boolean <B>isSelected</B>(java.io.File basedir,
|
---|
431 | java.lang.String filename,
|
---|
432 | java.io.File file)
|
---|
433 | throws <A HREF="../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
434 | <DL>
|
---|
435 | <DD>Allows the custom selector to choose whether to select a file. This
|
---|
436 | is also where the Parameters are passed to the custom selector,
|
---|
437 | since we know we must have them all by now. And since we must know
|
---|
438 | both classpath and classname, creating the class is deferred to here
|
---|
439 | as well.
|
---|
440 | <P>
|
---|
441 | <DD><DL>
|
---|
442 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/tools/ant/types/selectors/FileSelector.html#isSelected(java.io.File, java.lang.String, java.io.File)">isSelected</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/tools/ant/types/selectors/FileSelector.html" title="interface in org.apache.tools.ant.types.selectors">FileSelector</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseSelector.html#isSelected(java.io.File, java.lang.String, java.io.File)">isSelected</A></CODE> in class <CODE><A HREF="../../../../../../org/apache/tools/ant/types/selectors/BaseSelector.html" title="class in org.apache.tools.ant.types.selectors">BaseSelector</A></CODE></DL>
|
---|
443 | </DD>
|
---|
444 | <DD><DL>
|
---|
445 | <DT><B>Parameters:</B><DD><CODE>basedir</CODE> - A java.io.File object for the base directory<DD><CODE>filename</CODE> - The name of the file to check<DD><CODE>file</CODE> - A File object for this filename
|
---|
446 | <DT><B>Returns:</B><DD>whether the file should be selected or not
|
---|
447 | <DT><B>Throws:</B>
|
---|
448 | <DD><CODE><A HREF="../../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if an error occurs</DL>
|
---|
449 | </DD>
|
---|
450 | </DL>
|
---|
451 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
452 | <HR>
|
---|
453 |
|
---|
454 |
|
---|
455 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
456 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
457 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
458 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
459 | <TR>
|
---|
460 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
461 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
462 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
463 | <TR ALIGN="center" VALIGN="top">
|
---|
464 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
465 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
466 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
467 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
468 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
469 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
470 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
471 | </TR>
|
---|
472 | </TABLE>
|
---|
473 | </TD>
|
---|
474 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
475 | </EM>
|
---|
476 | </TD>
|
---|
477 | </TR>
|
---|
478 |
|
---|
479 | <TR>
|
---|
480 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
481 | <A HREF="../../../../../../org/apache/tools/ant/types/selectors/DifferentSelector.html" title="class in org.apache.tools.ant.types.selectors"><B>PREV CLASS</B></A>
|
---|
482 | <A HREF="../../../../../../org/apache/tools/ant/types/selectors/FilenameSelector.html" title="class in org.apache.tools.ant.types.selectors"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
483 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
484 | <A HREF="../../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
485 | <A HREF="ExtendSelector.html" target="_top"><B>NO FRAMES</B></A>
|
---|
486 | <SCRIPT type="text/javascript">
|
---|
487 | <!--
|
---|
488 | if(window==top) {
|
---|
489 | document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
490 | }
|
---|
491 | //-->
|
---|
492 | </SCRIPT>
|
---|
493 | <NOSCRIPT>
|
---|
494 | <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
495 | </NOSCRIPT>
|
---|
496 |
|
---|
497 | </FONT></TD>
|
---|
498 | </TR>
|
---|
499 | <TR>
|
---|
500 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
501 | SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_org.apache.tools.ant.types.DataType">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
502 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
503 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
504 | </TR>
|
---|
505 | </TABLE>
|
---|
506 | <A NAME="skip-navbar_bottom"></A>
|
---|
507 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
508 |
|
---|
509 | <HR>
|
---|
510 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
511 | </BODY>
|
---|
512 | </HTML>
|
---|