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:14 NZST 2007 -->
|
---|
6 | <TITLE>
|
---|
7 | AntTypeDefinition (Apache Ant API)
|
---|
8 | </TITLE>
|
---|
9 |
|
---|
10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.AntTypeDefinition 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="AntTypeDefinition (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/AntClassLoader.html" title="class in org.apache.tools.ant"><B>PREV CLASS</B></A>
|
---|
53 | <A HREF="../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant"><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="AntTypeDefinition.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 | FIELD | <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</FONT>
|
---|
85 | <BR>
|
---|
86 | Class AntTypeDefinition</H2>
|
---|
87 | <PRE>
|
---|
88 | java.lang.Object
|
---|
89 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.AntTypeDefinition</B>
|
---|
90 | </PRE>
|
---|
91 | <DL>
|
---|
92 | <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/apache/tools/ant/taskdefs/PreSetDef.PreSetDefinition.html" title="class in org.apache.tools.ant.taskdefs">PreSetDef.PreSetDefinition</A></DD>
|
---|
93 | </DL>
|
---|
94 | <HR>
|
---|
95 | <DL>
|
---|
96 | <DT>public class <B>AntTypeDefinition</B><DT>extends java.lang.Object</DL>
|
---|
97 |
|
---|
98 | <P>
|
---|
99 | This class contains all the information
|
---|
100 | on a particular ant type,
|
---|
101 | the classname, adaptor and the class
|
---|
102 | it should be assignable from.
|
---|
103 | This type replaces the task/datatype split
|
---|
104 | of pre ant 1.6.
|
---|
105 | <P>
|
---|
106 |
|
---|
107 | <P>
|
---|
108 | <HR>
|
---|
109 |
|
---|
110 | <P>
|
---|
111 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
112 |
|
---|
113 |
|
---|
114 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
115 |
|
---|
116 |
|
---|
117 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
118 |
|
---|
119 | <A NAME="constructor_summary"><!-- --></A>
|
---|
120 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
121 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
122 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
123 | <B>Constructor Summary</B></FONT></TD>
|
---|
124 | </TR>
|
---|
125 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
126 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/AntTypeDefinition.html#AntTypeDefinition()">AntTypeDefinition</A></B>()</CODE>
|
---|
127 |
|
---|
128 | <BR>
|
---|
129 | </TD>
|
---|
130 | </TR>
|
---|
131 | </TABLE>
|
---|
132 |
|
---|
133 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
134 |
|
---|
135 | <A NAME="method_summary"><!-- --></A>
|
---|
136 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
137 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
138 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
139 | <B>Method Summary</B></FONT></TD>
|
---|
140 | </TR>
|
---|
141 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
142 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
143 | <CODE> void</CODE></FONT></TD>
|
---|
144 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/AntTypeDefinition.html#checkClass(org.apache.tools.ant.Project)">checkClass</A></B>(<A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> project)</CODE>
|
---|
145 |
|
---|
146 | <BR>
|
---|
147 | Checks if the attributes are correct.</TD>
|
---|
148 | </TR>
|
---|
149 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
150 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
151 | <CODE> java.lang.Object</CODE></FONT></TD>
|
---|
152 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/AntTypeDefinition.html#create(org.apache.tools.ant.Project)">create</A></B>(<A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> project)</CODE>
|
---|
153 |
|
---|
154 | <BR>
|
---|
155 | create an instance of the definition.</TD>
|
---|
156 | </TR>
|
---|
157 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
158 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
159 | <CODE> java.lang.ClassLoader</CODE></FONT></TD>
|
---|
160 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/AntTypeDefinition.html#getClassLoader()">getClassLoader</A></B>()</CODE>
|
---|
161 |
|
---|
162 | <BR>
|
---|
163 | get the classloader for this definition</TD>
|
---|
164 | </TR>
|
---|
165 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
166 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
167 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
168 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/AntTypeDefinition.html#getClassName()">getClassName</A></B>()</CODE>
|
---|
169 |
|
---|
170 | <BR>
|
---|
171 | get the classname of the definition</TD>
|
---|
172 | </TR>
|
---|
173 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
174 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
175 | <CODE> java.lang.Class</CODE></FONT></TD>
|
---|
176 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/AntTypeDefinition.html#getExposedClass(org.apache.tools.ant.Project)">getExposedClass</A></B>(<A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> project)</CODE>
|
---|
177 |
|
---|
178 | <BR>
|
---|
179 | get the exposed class for this
|
---|
180 | definition.</TD>
|
---|
181 | </TR>
|
---|
182 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
183 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
184 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
185 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/AntTypeDefinition.html#getName()">getName</A></B>()</CODE>
|
---|
186 |
|
---|
187 | <BR>
|
---|
188 | return the definition's name</TD>
|
---|
189 | </TR>
|
---|
190 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
191 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
192 | <CODE> java.lang.Class</CODE></FONT></TD>
|
---|
193 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/AntTypeDefinition.html#getTypeClass(org.apache.tools.ant.Project)">getTypeClass</A></B>(<A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> project)</CODE>
|
---|
194 |
|
---|
195 | <BR>
|
---|
196 | get the definition class</TD>
|
---|
197 | </TR>
|
---|
198 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
199 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
200 | <CODE> boolean</CODE></FONT></TD>
|
---|
201 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/AntTypeDefinition.html#sameDefinition(org.apache.tools.ant.AntTypeDefinition, org.apache.tools.ant.Project)">sameDefinition</A></B>(<A HREF="../../../../org/apache/tools/ant/AntTypeDefinition.html" title="class in org.apache.tools.ant">AntTypeDefinition</A> other,
|
---|
202 | <A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> project)</CODE>
|
---|
203 |
|
---|
204 | <BR>
|
---|
205 | Equality method for this definition (assumes the names are the same)</TD>
|
---|
206 | </TR>
|
---|
207 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
208 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
209 | <CODE> void</CODE></FONT></TD>
|
---|
210 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/AntTypeDefinition.html#setAdapterClass(java.lang.Class)">setAdapterClass</A></B>(java.lang.Class adapterClass)</CODE>
|
---|
211 |
|
---|
212 | <BR>
|
---|
213 | set the adapter class for this definition.</TD>
|
---|
214 | </TR>
|
---|
215 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
216 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
217 | <CODE> void</CODE></FONT></TD>
|
---|
218 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/AntTypeDefinition.html#setAdaptToClass(java.lang.Class)">setAdaptToClass</A></B>(java.lang.Class adaptToClass)</CODE>
|
---|
219 |
|
---|
220 | <BR>
|
---|
221 | set the assignable class for this definition.</TD>
|
---|
222 | </TR>
|
---|
223 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
224 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
225 | <CODE> void</CODE></FONT></TD>
|
---|
226 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/AntTypeDefinition.html#setClass(java.lang.Class)">setClass</A></B>(java.lang.Class clazz)</CODE>
|
---|
227 |
|
---|
228 | <BR>
|
---|
229 | set the class of the definition.</TD>
|
---|
230 | </TR>
|
---|
231 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
232 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
233 | <CODE> void</CODE></FONT></TD>
|
---|
234 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/AntTypeDefinition.html#setClassLoader(java.lang.ClassLoader)">setClassLoader</A></B>(java.lang.ClassLoader classLoader)</CODE>
|
---|
235 |
|
---|
236 | <BR>
|
---|
237 | set the classloader to use to create an instance
|
---|
238 | of the definition</TD>
|
---|
239 | </TR>
|
---|
240 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
241 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
242 | <CODE> void</CODE></FONT></TD>
|
---|
243 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/AntTypeDefinition.html#setClassName(java.lang.String)">setClassName</A></B>(java.lang.String className)</CODE>
|
---|
244 |
|
---|
245 | <BR>
|
---|
246 | set the classname of the definition</TD>
|
---|
247 | </TR>
|
---|
248 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
249 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
250 | <CODE> void</CODE></FONT></TD>
|
---|
251 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/AntTypeDefinition.html#setName(java.lang.String)">setName</A></B>(java.lang.String name)</CODE>
|
---|
252 |
|
---|
253 | <BR>
|
---|
254 | set the definition's name</TD>
|
---|
255 | </TR>
|
---|
256 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
257 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
258 | <CODE> boolean</CODE></FONT></TD>
|
---|
259 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/AntTypeDefinition.html#similarDefinition(org.apache.tools.ant.AntTypeDefinition, org.apache.tools.ant.Project)">similarDefinition</A></B>(<A HREF="../../../../org/apache/tools/ant/AntTypeDefinition.html" title="class in org.apache.tools.ant">AntTypeDefinition</A> other,
|
---|
260 | <A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> project)</CODE>
|
---|
261 |
|
---|
262 | <BR>
|
---|
263 | Similar definition
|
---|
264 | used to compare two definitions defined twice with the same
|
---|
265 | name and the same types.</TD>
|
---|
266 | </TR>
|
---|
267 | </TABLE>
|
---|
268 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
269 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
270 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
271 | <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
---|
272 | </TR>
|
---|
273 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
274 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
---|
275 | </TR>
|
---|
276 | </TABLE>
|
---|
277 |
|
---|
278 | <P>
|
---|
279 |
|
---|
280 | <!-- ============ FIELD DETAIL =========== -->
|
---|
281 |
|
---|
282 |
|
---|
283 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
284 |
|
---|
285 | <A NAME="constructor_detail"><!-- --></A>
|
---|
286 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
287 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
288 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
289 | <B>Constructor Detail</B></FONT></TD>
|
---|
290 | </TR>
|
---|
291 | </TABLE>
|
---|
292 |
|
---|
293 | <A NAME="AntTypeDefinition()"><!-- --></A><H3>
|
---|
294 | AntTypeDefinition</H3>
|
---|
295 | <PRE>
|
---|
296 | public <B>AntTypeDefinition</B>()</PRE>
|
---|
297 | <DL>
|
---|
298 | </DL>
|
---|
299 |
|
---|
300 | <!-- ============ METHOD DETAIL ========== -->
|
---|
301 |
|
---|
302 | <A NAME="method_detail"><!-- --></A>
|
---|
303 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
304 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
305 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
306 | <B>Method Detail</B></FONT></TD>
|
---|
307 | </TR>
|
---|
308 | </TABLE>
|
---|
309 |
|
---|
310 | <A NAME="setName(java.lang.String)"><!-- --></A><H3>
|
---|
311 | setName</H3>
|
---|
312 | <PRE>
|
---|
313 | public void <B>setName</B>(java.lang.String name)</PRE>
|
---|
314 | <DL>
|
---|
315 | <DD>set the definition's name
|
---|
316 | <P>
|
---|
317 | <DD><DL>
|
---|
318 | <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the definition</DL>
|
---|
319 | </DD>
|
---|
320 | </DL>
|
---|
321 | <HR>
|
---|
322 |
|
---|
323 | <A NAME="getName()"><!-- --></A><H3>
|
---|
324 | getName</H3>
|
---|
325 | <PRE>
|
---|
326 | public java.lang.String <B>getName</B>()</PRE>
|
---|
327 | <DL>
|
---|
328 | <DD>return the definition's name
|
---|
329 | <P>
|
---|
330 | <DD><DL>
|
---|
331 |
|
---|
332 | <DT><B>Returns:</B><DD>the name of the definition</DL>
|
---|
333 | </DD>
|
---|
334 | </DL>
|
---|
335 | <HR>
|
---|
336 |
|
---|
337 | <A NAME="setClass(java.lang.Class)"><!-- --></A><H3>
|
---|
338 | setClass</H3>
|
---|
339 | <PRE>
|
---|
340 | public void <B>setClass</B>(java.lang.Class clazz)</PRE>
|
---|
341 | <DL>
|
---|
342 | <DD>set the class of the definition.
|
---|
343 | as a side-effect may set the classloader and classname
|
---|
344 | <P>
|
---|
345 | <DD><DL>
|
---|
346 | <DT><B>Parameters:</B><DD><CODE>clazz</CODE> - the class of this definition</DL>
|
---|
347 | </DD>
|
---|
348 | </DL>
|
---|
349 | <HR>
|
---|
350 |
|
---|
351 | <A NAME="setClassName(java.lang.String)"><!-- --></A><H3>
|
---|
352 | setClassName</H3>
|
---|
353 | <PRE>
|
---|
354 | public void <B>setClassName</B>(java.lang.String className)</PRE>
|
---|
355 | <DL>
|
---|
356 | <DD>set the classname of the definition
|
---|
357 | <P>
|
---|
358 | <DD><DL>
|
---|
359 | <DT><B>Parameters:</B><DD><CODE>className</CODE> - the classname of this definition</DL>
|
---|
360 | </DD>
|
---|
361 | </DL>
|
---|
362 | <HR>
|
---|
363 |
|
---|
364 | <A NAME="getClassName()"><!-- --></A><H3>
|
---|
365 | getClassName</H3>
|
---|
366 | <PRE>
|
---|
367 | public java.lang.String <B>getClassName</B>()</PRE>
|
---|
368 | <DL>
|
---|
369 | <DD>get the classname of the definition
|
---|
370 | <P>
|
---|
371 | <DD><DL>
|
---|
372 |
|
---|
373 | <DT><B>Returns:</B><DD>the name of the class of this definition</DL>
|
---|
374 | </DD>
|
---|
375 | </DL>
|
---|
376 | <HR>
|
---|
377 |
|
---|
378 | <A NAME="setAdapterClass(java.lang.Class)"><!-- --></A><H3>
|
---|
379 | setAdapterClass</H3>
|
---|
380 | <PRE>
|
---|
381 | public void <B>setAdapterClass</B>(java.lang.Class adapterClass)</PRE>
|
---|
382 | <DL>
|
---|
383 | <DD>set the adapter class for this definition.
|
---|
384 | this class is used to adapt the definitions class if
|
---|
385 | required.
|
---|
386 | <P>
|
---|
387 | <DD><DL>
|
---|
388 | <DT><B>Parameters:</B><DD><CODE>adapterClass</CODE> - the adapterClass</DL>
|
---|
389 | </DD>
|
---|
390 | </DL>
|
---|
391 | <HR>
|
---|
392 |
|
---|
393 | <A NAME="setAdaptToClass(java.lang.Class)"><!-- --></A><H3>
|
---|
394 | setAdaptToClass</H3>
|
---|
395 | <PRE>
|
---|
396 | public void <B>setAdaptToClass</B>(java.lang.Class adaptToClass)</PRE>
|
---|
397 | <DL>
|
---|
398 | <DD>set the assignable class for this definition.
|
---|
399 | <P>
|
---|
400 | <DD><DL>
|
---|
401 | <DT><B>Parameters:</B><DD><CODE>adaptToClass</CODE> - the assignable class</DL>
|
---|
402 | </DD>
|
---|
403 | </DL>
|
---|
404 | <HR>
|
---|
405 |
|
---|
406 | <A NAME="setClassLoader(java.lang.ClassLoader)"><!-- --></A><H3>
|
---|
407 | setClassLoader</H3>
|
---|
408 | <PRE>
|
---|
409 | public void <B>setClassLoader</B>(java.lang.ClassLoader classLoader)</PRE>
|
---|
410 | <DL>
|
---|
411 | <DD>set the classloader to use to create an instance
|
---|
412 | of the definition
|
---|
413 | <P>
|
---|
414 | <DD><DL>
|
---|
415 | <DT><B>Parameters:</B><DD><CODE>classLoader</CODE> - the classLoader</DL>
|
---|
416 | </DD>
|
---|
417 | </DL>
|
---|
418 | <HR>
|
---|
419 |
|
---|
420 | <A NAME="getClassLoader()"><!-- --></A><H3>
|
---|
421 | getClassLoader</H3>
|
---|
422 | <PRE>
|
---|
423 | public java.lang.ClassLoader <B>getClassLoader</B>()</PRE>
|
---|
424 | <DL>
|
---|
425 | <DD>get the classloader for this definition
|
---|
426 | <P>
|
---|
427 | <DD><DL>
|
---|
428 |
|
---|
429 | <DT><B>Returns:</B><DD>the classloader for this definition</DL>
|
---|
430 | </DD>
|
---|
431 | </DL>
|
---|
432 | <HR>
|
---|
433 |
|
---|
434 | <A NAME="getExposedClass(org.apache.tools.ant.Project)"><!-- --></A><H3>
|
---|
435 | getExposedClass</H3>
|
---|
436 | <PRE>
|
---|
437 | public java.lang.Class <B>getExposedClass</B>(<A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> project)</PRE>
|
---|
438 | <DL>
|
---|
439 | <DD>get the exposed class for this
|
---|
440 | definition. This will be a proxy class
|
---|
441 | (adapted class) if there is an adapter
|
---|
442 | class and the definition class is not
|
---|
443 | assignable from the assignable class.
|
---|
444 | <P>
|
---|
445 | <DD><DL>
|
---|
446 | <DT><B>Parameters:</B><DD><CODE>project</CODE> - the current project
|
---|
447 | <DT><B>Returns:</B><DD>the exposed class</DL>
|
---|
448 | </DD>
|
---|
449 | </DL>
|
---|
450 | <HR>
|
---|
451 |
|
---|
452 | <A NAME="getTypeClass(org.apache.tools.ant.Project)"><!-- --></A><H3>
|
---|
453 | getTypeClass</H3>
|
---|
454 | <PRE>
|
---|
455 | public java.lang.Class <B>getTypeClass</B>(<A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> project)</PRE>
|
---|
456 | <DL>
|
---|
457 | <DD>get the definition class
|
---|
458 | <P>
|
---|
459 | <DD><DL>
|
---|
460 | <DT><B>Parameters:</B><DD><CODE>project</CODE> - the current project
|
---|
461 | <DT><B>Returns:</B><DD>the type of the definition</DL>
|
---|
462 | </DD>
|
---|
463 | </DL>
|
---|
464 | <HR>
|
---|
465 |
|
---|
466 | <A NAME="create(org.apache.tools.ant.Project)"><!-- --></A><H3>
|
---|
467 | create</H3>
|
---|
468 | <PRE>
|
---|
469 | public java.lang.Object <B>create</B>(<A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> project)</PRE>
|
---|
470 | <DL>
|
---|
471 | <DD>create an instance of the definition.
|
---|
472 | The instance may be wrapped in a proxy class.
|
---|
473 | <P>
|
---|
474 | <DD><DL>
|
---|
475 | <DT><B>Parameters:</B><DD><CODE>project</CODE> - the current project
|
---|
476 | <DT><B>Returns:</B><DD>the created object</DL>
|
---|
477 | </DD>
|
---|
478 | </DL>
|
---|
479 | <HR>
|
---|
480 |
|
---|
481 | <A NAME="checkClass(org.apache.tools.ant.Project)"><!-- --></A><H3>
|
---|
482 | checkClass</H3>
|
---|
483 | <PRE>
|
---|
484 | public void <B>checkClass</B>(<A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> project)</PRE>
|
---|
485 | <DL>
|
---|
486 | <DD>Checks if the attributes are correct.
|
---|
487 | <dl>
|
---|
488 | <li>if the class can be created.</li>
|
---|
489 | <li>if an adapter class can be created</li>
|
---|
490 | <li>if the type is assignable from adapto</li>
|
---|
491 | <li>if the type can be used with the adapter class</li>
|
---|
492 | </dl>
|
---|
493 | <P>
|
---|
494 | <DD><DL>
|
---|
495 | <DT><B>Parameters:</B><DD><CODE>project</CODE> - the current project</DL>
|
---|
496 | </DD>
|
---|
497 | </DL>
|
---|
498 | <HR>
|
---|
499 |
|
---|
500 | <A NAME="sameDefinition(org.apache.tools.ant.AntTypeDefinition, org.apache.tools.ant.Project)"><!-- --></A><H3>
|
---|
501 | sameDefinition</H3>
|
---|
502 | <PRE>
|
---|
503 | public boolean <B>sameDefinition</B>(<A HREF="../../../../org/apache/tools/ant/AntTypeDefinition.html" title="class in org.apache.tools.ant">AntTypeDefinition</A> other,
|
---|
504 | <A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> project)</PRE>
|
---|
505 | <DL>
|
---|
506 | <DD>Equality method for this definition (assumes the names are the same)
|
---|
507 | <P>
|
---|
508 | <DD><DL>
|
---|
509 | <DT><B>Parameters:</B><DD><CODE>other</CODE> - another definition<DD><CODE>project</CODE> - the project the definition
|
---|
510 | <DT><B>Returns:</B><DD>true if the definitions are the same</DL>
|
---|
511 | </DD>
|
---|
512 | </DL>
|
---|
513 | <HR>
|
---|
514 |
|
---|
515 | <A NAME="similarDefinition(org.apache.tools.ant.AntTypeDefinition, org.apache.tools.ant.Project)"><!-- --></A><H3>
|
---|
516 | similarDefinition</H3>
|
---|
517 | <PRE>
|
---|
518 | public boolean <B>similarDefinition</B>(<A HREF="../../../../org/apache/tools/ant/AntTypeDefinition.html" title="class in org.apache.tools.ant">AntTypeDefinition</A> other,
|
---|
519 | <A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> project)</PRE>
|
---|
520 | <DL>
|
---|
521 | <DD>Similar definition
|
---|
522 | used to compare two definitions defined twice with the same
|
---|
523 | name and the same types.
|
---|
524 | the classloader may be different but have the same
|
---|
525 | path so #sameDefinition cannot
|
---|
526 | be used.
|
---|
527 | <P>
|
---|
528 | <DD><DL>
|
---|
529 | <DT><B>Parameters:</B><DD><CODE>other</CODE> - the definition to compare to<DD><CODE>project</CODE> - the current project
|
---|
530 | <DT><B>Returns:</B><DD>true if the definitions are the same</DL>
|
---|
531 | </DD>
|
---|
532 | </DL>
|
---|
533 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
534 | <HR>
|
---|
535 |
|
---|
536 |
|
---|
537 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
538 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
539 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
540 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
541 | <TR>
|
---|
542 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
543 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
544 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
545 | <TR ALIGN="center" VALIGN="top">
|
---|
546 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
547 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
548 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
549 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
550 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
551 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
552 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
553 | </TR>
|
---|
554 | </TABLE>
|
---|
555 | </TD>
|
---|
556 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
557 | </EM>
|
---|
558 | </TD>
|
---|
559 | </TR>
|
---|
560 |
|
---|
561 | <TR>
|
---|
562 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
563 | <A HREF="../../../../org/apache/tools/ant/AntClassLoader.html" title="class in org.apache.tools.ant"><B>PREV CLASS</B></A>
|
---|
564 | <A HREF="../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
565 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
566 | <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
567 | <A HREF="AntTypeDefinition.html" target="_top"><B>NO FRAMES</B></A>
|
---|
568 | <SCRIPT type="text/javascript">
|
---|
569 | <!--
|
---|
570 | if(window==top) {
|
---|
571 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
572 | }
|
---|
573 | //-->
|
---|
574 | </SCRIPT>
|
---|
575 | <NOSCRIPT>
|
---|
576 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
577 | </NOSCRIPT>
|
---|
578 |
|
---|
579 | </FONT></TD>
|
---|
580 | </TR>
|
---|
581 | <TR>
|
---|
582 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
583 | SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
584 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
585 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
586 | </TR>
|
---|
587 | </TABLE>
|
---|
588 | <A NAME="skip-navbar_bottom"></A>
|
---|
589 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
590 |
|
---|
591 | <HR>
|
---|
592 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
593 | </BODY>
|
---|
594 | </HTML>
|
---|