source: release-kits/lirk3/resources/gs3-release-maker/ant/docs/manual/api/org/apache/tools/ant/IntrospectionHelper.html@ 14982

Last change on this file since 14982 was 14982, checked in by oranfry, 16 years ago

initial import of LiRK3

File size: 54.3 KB
Line 
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:15 NZST 2007 -->
6<TITLE>
7IntrospectionHelper (Apache Ant API)
8</TITLE>
9
10<META NAME="keywords" CONTENT="org.apache.tools.ant.IntrospectionHelper class">
11
12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
13
14<SCRIPT type="text/javascript">
15function windowTitle()
16{
17 parent.document.title="IntrospectionHelper (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>&nbsp;</TD>
36 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
37 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
39 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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&nbsp;<A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html" title="class in org.apache.tools.ant"><B>PREV CLASS</B></A>&nbsp;
53&nbsp;<A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.Creator.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> &nbsp;
56&nbsp;<A HREF="IntrospectionHelper.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
57&nbsp;<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:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
73<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
74DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<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">
84org.apache.tools.ant</FONT>
85<BR>
86Class IntrospectionHelper</H2>
87<PRE>
88java.lang.Object
89 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.IntrospectionHelper</B>
90</PRE>
91<DL>
92<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../org/apache/tools/ant/BuildListener.html" title="interface in org.apache.tools.ant">BuildListener</A>, java.util.EventListener</DD>
93</DL>
94<HR>
95<DL>
96<DT>public final class <B>IntrospectionHelper</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../org/apache/tools/ant/BuildListener.html" title="interface in org.apache.tools.ant">BuildListener</A></DL>
97
98<P>
99Helper class that collects the methods a task or nested element
100 holds to set attributes, create nested elements or hold PCDATA
101 elements.
102 The class is final as it has a private constructor.
103<P>
104
105<P>
106<HR>
107
108<P>
109<!-- ======== NESTED CLASS SUMMARY ======== -->
110
111<A NAME="nested_class_summary"><!-- --></A>
112<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
113<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
114<TD COLSPAN=2><FONT SIZE="+2">
115<B>Nested Class Summary</B></FONT></TD>
116</TR>
117<TR BGCOLOR="white" CLASS="TableRowColor">
118<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
119<CODE>static&nbsp;class</CODE></FONT></TD>
120<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.Creator.html" title="class in org.apache.tools.ant">IntrospectionHelper.Creator</A></B></CODE>
121
122<BR>
123&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;creator - allows use of create/store external
124 to IntrospectionHelper.</TD>
125</TR>
126</TABLE>
127&nbsp;
128<!-- =========== FIELD SUMMARY =========== -->
129
130
131<!-- ======== CONSTRUCTOR SUMMARY ======== -->
132
133
134<!-- ========== METHOD SUMMARY =========== -->
135
136<A NAME="method_summary"><!-- --></A>
137<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
138<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
139<TD COLSPAN=2><FONT SIZE="+2">
140<B>Method Summary</B></FONT></TD>
141</TR>
142<TR BGCOLOR="white" CLASS="TableRowColor">
143<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
144<CODE>&nbsp;void</CODE></FONT></TD>
145<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.html#addText(org.apache.tools.ant.Project, java.lang.Object, java.lang.String)">addText</A></B>(<A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A>&nbsp;project,
146 java.lang.Object&nbsp;element,
147 java.lang.String&nbsp;text)</CODE>
148
149<BR>
150&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds PCDATA to an element, using the element's
151 <code>void addText(String)</code> method, if it has one.</TD>
152</TR>
153<TR BGCOLOR="white" CLASS="TableRowColor">
154<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
155<CODE>&nbsp;void</CODE></FONT></TD>
156<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.html#buildFinished(org.apache.tools.ant.BuildEvent)">buildFinished</A></B>(<A HREF="../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant">BuildEvent</A>&nbsp;event)</CODE>
157
158<BR>
159&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Clears all storage used by this class, including the static cache of
160 helpers.</TD>
161</TR>
162<TR BGCOLOR="white" CLASS="TableRowColor">
163<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
164<CODE>&nbsp;void</CODE></FONT></TD>
165<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.html#buildStarted(org.apache.tools.ant.BuildEvent)">buildStarted</A></B>(<A HREF="../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant">BuildEvent</A>&nbsp;event)</CODE>
166
167<BR>
168&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Empty implementation to satisfy the BuildListener interface.</TD>
169</TR>
170<TR BGCOLOR="white" CLASS="TableRowColor">
171<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
172<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
173<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.html#createElement(org.apache.tools.ant.Project, java.lang.Object, java.lang.String)">createElement</A></B>(<A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A>&nbsp;project,
174 java.lang.Object&nbsp;parent,
175 java.lang.String&nbsp;elementName)</CODE>
176
177<BR>
178&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;<I>This is not a namespace aware method.</I></TD>
179</TR>
180<TR BGCOLOR="white" CLASS="TableRowColor">
181<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
182<CODE>&nbsp;java.lang.reflect.Method</CODE></FONT></TD>
183<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.html#getAddTextMethod()">getAddTextMethod</A></B>()</CODE>
184
185<BR>
186&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the addText method when the introspected
187 class supports nested text.</TD>
188</TR>
189<TR BGCOLOR="white" CLASS="TableRowColor">
190<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
191<CODE>&nbsp;java.util.Map</CODE></FONT></TD>
192<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.html#getAttributeMap()">getAttributeMap</A></B>()</CODE>
193
194<BR>
195&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a read-only map of attributes supported
196 by the introspected class.</TD>
197</TR>
198<TR BGCOLOR="white" CLASS="TableRowColor">
199<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
200<CODE>&nbsp;java.lang.reflect.Method</CODE></FONT></TD>
201<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.html#getAttributeMethod(java.lang.String)">getAttributeMethod</A></B>(java.lang.String&nbsp;attributeName)</CODE>
202
203<BR>
204&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the setter method of a named attribute.</TD>
205</TR>
206<TR BGCOLOR="white" CLASS="TableRowColor">
207<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
208<CODE>&nbsp;java.util.Enumeration</CODE></FONT></TD>
209<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.html#getAttributes()">getAttributes</A></B>()</CODE>
210
211<BR>
212&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an enumeration of the names of the attributes supported
213 by the introspected class.</TD>
214</TR>
215<TR BGCOLOR="white" CLASS="TableRowColor">
216<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
217<CODE>&nbsp;java.lang.Class</CODE></FONT></TD>
218<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.html#getAttributeType(java.lang.String)">getAttributeType</A></B>(java.lang.String&nbsp;attributeName)</CODE>
219
220<BR>
221&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the type of a named attribute.</TD>
222</TR>
223<TR BGCOLOR="white" CLASS="TableRowColor">
224<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
225<CODE>&nbsp;<A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.Creator.html" title="class in org.apache.tools.ant">IntrospectionHelper.Creator</A></CODE></FONT></TD>
226<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.html#getElementCreator(org.apache.tools.ant.Project, java.lang.String, java.lang.Object, java.lang.String, org.apache.tools.ant.UnknownElement)">getElementCreator</A></B>(<A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A>&nbsp;project,
227 java.lang.String&nbsp;parentUri,
228 java.lang.Object&nbsp;parent,
229 java.lang.String&nbsp;elementName,
230 <A HREF="../../../../org/apache/tools/ant/UnknownElement.html" title="class in org.apache.tools.ant">UnknownElement</A>&nbsp;ue)</CODE>
231
232<BR>
233&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;returns an object that creates and stores an object
234 for an element of a parent.</TD>
235</TR>
236<TR BGCOLOR="white" CLASS="TableRowColor">
237<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
238<CODE>&nbsp;java.lang.reflect.Method</CODE></FONT></TD>
239<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.html#getElementMethod(java.lang.String)">getElementMethod</A></B>(java.lang.String&nbsp;elementName)</CODE>
240
241<BR>
242&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the adder or creator method of a named nested element.</TD>
243</TR>
244<TR BGCOLOR="white" CLASS="TableRowColor">
245<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
246<CODE>protected &nbsp;java.lang.String</CODE></FONT></TD>
247<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.html#getElementName(org.apache.tools.ant.Project, java.lang.Object)">getElementName</A></B>(<A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A>&nbsp;project,
248 java.lang.Object&nbsp;element)</CODE>
249
250<BR>
251&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a description of the type of the given element in
252 relation to a given project.</TD>
253</TR>
254<TR BGCOLOR="white" CLASS="TableRowColor">
255<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
256<CODE>&nbsp;java.lang.Class</CODE></FONT></TD>
257<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.html#getElementType(java.lang.String)">getElementType</A></B>(java.lang.String&nbsp;elementName)</CODE>
258
259<BR>
260&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the type of a named nested element.</TD>
261</TR>
262<TR BGCOLOR="white" CLASS="TableRowColor">
263<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
264<CODE>&nbsp;java.util.List</CODE></FONT></TD>
265<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.html#getExtensionPoints()">getExtensionPoints</A></B>()</CODE>
266
267<BR>
268&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a read-only list of extension points supported
269 by the introspected class.</TD>
270</TR>
271<TR BGCOLOR="white" CLASS="TableRowColor">
272<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
273<CODE>static&nbsp;<A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.html" title="class in org.apache.tools.ant">IntrospectionHelper</A></CODE></FONT></TD>
274<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.html#getHelper(java.lang.Class)">getHelper</A></B>(java.lang.Class&nbsp;c)</CODE>
275
276<BR>
277&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a helper for the given class, either from the cache
278 or by creating a new instance.</TD>
279</TR>
280<TR BGCOLOR="white" CLASS="TableRowColor">
281<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
282<CODE>static&nbsp;<A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.html" title="class in org.apache.tools.ant">IntrospectionHelper</A></CODE></FONT></TD>
283<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.html#getHelper(org.apache.tools.ant.Project, java.lang.Class)">getHelper</A></B>(<A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A>&nbsp;p,
284 java.lang.Class&nbsp;c)</CODE>
285
286<BR>
287&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a helper for the given class, either from the cache
288 or by creating a new instance.</TD>
289</TR>
290<TR BGCOLOR="white" CLASS="TableRowColor">
291<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
292<CODE>&nbsp;java.util.Map</CODE></FONT></TD>
293<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.html#getNestedElementMap()">getNestedElementMap</A></B>()</CODE>
294
295<BR>
296&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a read-only map of nested elements supported
297 by the introspected class.</TD>
298</TR>
299<TR BGCOLOR="white" CLASS="TableRowColor">
300<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
301<CODE>&nbsp;java.util.Enumeration</CODE></FONT></TD>
302<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.html#getNestedElements()">getNestedElements</A></B>()</CODE>
303
304<BR>
305&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an enumeration of the names of the nested elements supported
306 by the introspected class.</TD>
307</TR>
308<TR BGCOLOR="white" CLASS="TableRowColor">
309<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
310<CODE>&nbsp;boolean</CODE></FONT></TD>
311<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.html#isContainer()">isContainer</A></B>()</CODE>
312
313<BR>
314&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicates whether the introspected class is a task container,
315 supporting arbitrary nested tasks/types.</TD>
316</TR>
317<TR BGCOLOR="white" CLASS="TableRowColor">
318<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
319<CODE>&nbsp;boolean</CODE></FONT></TD>
320<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.html#isDynamic()">isDynamic</A></B>()</CODE>
321
322<BR>
323&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicates whether the introspected class is a dynamic one,
324 supporting arbitrary nested elements and/or attributes.</TD>
325</TR>
326<TR BGCOLOR="white" CLASS="TableRowColor">
327<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
328<CODE>&nbsp;void</CODE></FONT></TD>
329<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.html#messageLogged(org.apache.tools.ant.BuildEvent)">messageLogged</A></B>(<A HREF="../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant">BuildEvent</A>&nbsp;event)</CODE>
330
331<BR>
332&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Empty implementation to satisfy the BuildListener interface.</TD>
333</TR>
334<TR BGCOLOR="white" CLASS="TableRowColor">
335<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
336<CODE>&nbsp;void</CODE></FONT></TD>
337<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.html#setAttribute(org.apache.tools.ant.Project, java.lang.Object, java.lang.String, java.lang.String)">setAttribute</A></B>(<A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A>&nbsp;p,
338 java.lang.Object&nbsp;element,
339 java.lang.String&nbsp;attributeName,
340 java.lang.String&nbsp;value)</CODE>
341
342<BR>
343&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the named attribute in the given element, which is part of the
344 given project.</TD>
345</TR>
346<TR BGCOLOR="white" CLASS="TableRowColor">
347<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
348<CODE>&nbsp;void</CODE></FONT></TD>
349<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.html#storeElement(org.apache.tools.ant.Project, java.lang.Object, java.lang.Object, java.lang.String)">storeElement</A></B>(<A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A>&nbsp;project,
350 java.lang.Object&nbsp;parent,
351 java.lang.Object&nbsp;child,
352 java.lang.String&nbsp;elementName)</CODE>
353
354<BR>
355&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stores a named nested element using a storage method determined
356 by the initial introspection.</TD>
357</TR>
358<TR BGCOLOR="white" CLASS="TableRowColor">
359<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
360<CODE>&nbsp;boolean</CODE></FONT></TD>
361<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.html#supportsCharacters()">supportsCharacters</A></B>()</CODE>
362
363<BR>
364&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns whether or not the introspected class supports PCDATA.</TD>
365</TR>
366<TR BGCOLOR="white" CLASS="TableRowColor">
367<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
368<CODE>&nbsp;boolean</CODE></FONT></TD>
369<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.html#supportsNestedElement(java.lang.String)">supportsNestedElement</A></B>(java.lang.String&nbsp;elementName)</CODE>
370
371<BR>
372&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicates if this element supports a nested element of the
373 given name.</TD>
374</TR>
375<TR BGCOLOR="white" CLASS="TableRowColor">
376<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
377<CODE>&nbsp;boolean</CODE></FONT></TD>
378<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.html#supportsNestedElement(java.lang.String, java.lang.String)">supportsNestedElement</A></B>(java.lang.String&nbsp;parentUri,
379 java.lang.String&nbsp;elementName)</CODE>
380
381<BR>
382&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicate if this element supports a nested element of the
383 given name.</TD>
384</TR>
385<TR BGCOLOR="white" CLASS="TableRowColor">
386<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
387<CODE>&nbsp;void</CODE></FONT></TD>
388<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.html#targetFinished(org.apache.tools.ant.BuildEvent)">targetFinished</A></B>(<A HREF="../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant">BuildEvent</A>&nbsp;event)</CODE>
389
390<BR>
391&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Empty implementation to satisfy the BuildListener interface.</TD>
392</TR>
393<TR BGCOLOR="white" CLASS="TableRowColor">
394<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
395<CODE>&nbsp;void</CODE></FONT></TD>
396<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.html#targetStarted(org.apache.tools.ant.BuildEvent)">targetStarted</A></B>(<A HREF="../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant">BuildEvent</A>&nbsp;event)</CODE>
397
398<BR>
399&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Empty implementation to satisfy the BuildListener interface.</TD>
400</TR>
401<TR BGCOLOR="white" CLASS="TableRowColor">
402<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
403<CODE>&nbsp;void</CODE></FONT></TD>
404<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.html#taskFinished(org.apache.tools.ant.BuildEvent)">taskFinished</A></B>(<A HREF="../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant">BuildEvent</A>&nbsp;event)</CODE>
405
406<BR>
407&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Empty implementation to satisfy the BuildListener interface.</TD>
408</TR>
409<TR BGCOLOR="white" CLASS="TableRowColor">
410<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
411<CODE>&nbsp;void</CODE></FONT></TD>
412<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.html#taskStarted(org.apache.tools.ant.BuildEvent)">taskStarted</A></B>(<A HREF="../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant">BuildEvent</A>&nbsp;event)</CODE>
413
414<BR>
415&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Empty implementation to satisfy the BuildListener interface.</TD>
416</TR>
417<TR BGCOLOR="white" CLASS="TableRowColor">
418<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
419<CODE>&nbsp;void</CODE></FONT></TD>
420<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.html#throwNotSupported(org.apache.tools.ant.Project, java.lang.Object, java.lang.String)">throwNotSupported</A></B>(<A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A>&nbsp;project,
421 java.lang.Object&nbsp;parent,
422 java.lang.String&nbsp;elementName)</CODE>
423
424<BR>
425&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Utility method to throw a NotSupported exception</TD>
426</TR>
427</TABLE>
428&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
429<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
430<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
431<TD><B>Methods inherited from class java.lang.Object</B></TD>
432</TR>
433<TR BGCOLOR="white" CLASS="TableRowColor">
434<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
435</TR>
436</TABLE>
437&nbsp;
438<P>
439
440<!-- ============ FIELD DETAIL =========== -->
441
442
443<!-- ========= CONSTRUCTOR DETAIL ======== -->
444
445
446<!-- ============ METHOD DETAIL ========== -->
447
448<A NAME="method_detail"><!-- --></A>
449<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
450<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
451<TD COLSPAN=1><FONT SIZE="+2">
452<B>Method Detail</B></FONT></TD>
453</TR>
454</TABLE>
455
456<A NAME="getHelper(java.lang.Class)"><!-- --></A><H3>
457getHelper</H3>
458<PRE>
459public static <A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.html" title="class in org.apache.tools.ant">IntrospectionHelper</A> <B>getHelper</B>(java.lang.Class&nbsp;c)</PRE>
460<DL>
461<DD>Returns a helper for the given class, either from the cache
462 or by creating a new instance.
463<P>
464<DD><DL>
465</DL>
466</DD>
467<DD><DL>
468<DT><B>Parameters:</B><DD><CODE>c</CODE> - The class for which a helper is required.
469 Must not be <code>null</code>.
470<DT><B>Returns:</B><DD>a helper for the specified class</DL>
471</DD>
472</DL>
473<HR>
474
475<A NAME="getHelper(org.apache.tools.ant.Project, java.lang.Class)"><!-- --></A><H3>
476getHelper</H3>
477<PRE>
478public static <A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.html" title="class in org.apache.tools.ant">IntrospectionHelper</A> <B>getHelper</B>(<A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A>&nbsp;p,
479 java.lang.Class&nbsp;c)</PRE>
480<DL>
481<DD>Returns a helper for the given class, either from the cache
482 or by creating a new instance.
483
484 The method will make sure the helper will be cleaned up at the end of
485 the project, and only one instance will be created for each class.
486<P>
487<DD><DL>
488</DL>
489</DD>
490<DD><DL>
491<DT><B>Parameters:</B><DD><CODE>p</CODE> - the project instance.<DD><CODE>c</CODE> - The class for which a helper is required.
492 Must not be <code>null</code>.
493<DT><B>Returns:</B><DD>a helper for the specified class</DL>
494</DD>
495</DL>
496<HR>
497
498<A NAME="setAttribute(org.apache.tools.ant.Project, java.lang.Object, java.lang.String, java.lang.String)"><!-- --></A><H3>
499setAttribute</H3>
500<PRE>
501public void <B>setAttribute</B>(<A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A>&nbsp;p,
502 java.lang.Object&nbsp;element,
503 java.lang.String&nbsp;attributeName,
504 java.lang.String&nbsp;value)
505 throws <A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
506<DL>
507<DD>Sets the named attribute in the given element, which is part of the
508 given project.
509<P>
510<DD><DL>
511</DL>
512</DD>
513<DD><DL>
514<DT><B>Parameters:</B><DD><CODE>p</CODE> - The project containing the element. This is used when files
515 need to be resolved. Must not be <code>null</code>.<DD><CODE>element</CODE> - The element to set the attribute in. Must not be
516 <code>null</code>.<DD><CODE>attributeName</CODE> - The name of the attribute to set. Must not be
517 <code>null</code>.<DD><CODE>value</CODE> - The value to set the attribute to. This may be interpreted
518 or converted to the necessary type if the setter method
519 doesn't just take a string. Must not be <code>null</code>.
520<DT><B>Throws:</B>
521<DD><CODE><A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if the introspected class doesn't support
522 the given attribute, or if the setting
523 method fails.</DL>
524</DD>
525</DL>
526<HR>
527
528<A NAME="addText(org.apache.tools.ant.Project, java.lang.Object, java.lang.String)"><!-- --></A><H3>
529addText</H3>
530<PRE>
531public void <B>addText</B>(<A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A>&nbsp;project,
532 java.lang.Object&nbsp;element,
533 java.lang.String&nbsp;text)
534 throws <A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
535<DL>
536<DD>Adds PCDATA to an element, using the element's
537 <code>void addText(String)</code> method, if it has one. If no
538 such method is present, a BuildException is thrown if the
539 given text contains non-whitespace.
540<P>
541<DD><DL>
542</DL>
543</DD>
544<DD><DL>
545<DT><B>Parameters:</B><DD><CODE>project</CODE> - The project which the element is part of.
546 Must not be <code>null</code>.<DD><CODE>element</CODE> - The element to add the text to.
547 Must not be <code>null</code>.<DD><CODE>text</CODE> - The text to add.
548 Must not be <code>null</code>.
549<DT><B>Throws:</B>
550<DD><CODE><A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if non-whitespace text is provided and no
551 method is available to handle it, or if
552 the handling method fails.</DL>
553</DD>
554</DL>
555<HR>
556
557<A NAME="throwNotSupported(org.apache.tools.ant.Project, java.lang.Object, java.lang.String)"><!-- --></A><H3>
558throwNotSupported</H3>
559<PRE>
560public void <B>throwNotSupported</B>(<A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A>&nbsp;project,
561 java.lang.Object&nbsp;parent,
562 java.lang.String&nbsp;elementName)</PRE>
563<DL>
564<DD>Utility method to throw a NotSupported exception
565<P>
566<DD><DL>
567</DL>
568</DD>
569<DD><DL>
570<DT><B>Parameters:</B><DD><CODE>project</CODE> - the Project instance.<DD><CODE>parent</CODE> - the object which doesn't support a requested element<DD><CODE>elementName</CODE> - the name of the Element which is trying to be created.</DL>
571</DD>
572</DL>
573<HR>
574
575<A NAME="createElement(org.apache.tools.ant.Project, java.lang.Object, java.lang.String)"><!-- --></A><H3>
576createElement</H3>
577<PRE>
578public java.lang.Object <B>createElement</B>(<A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A>&nbsp;project,
579 java.lang.Object&nbsp;parent,
580 java.lang.String&nbsp;elementName)
581 throws <A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
582<DL>
583<DD><B>Deprecated.</B>&nbsp;<I>This is not a namespace aware method.</I>
584<P>
585<DD>Creates a named nested element. Depending on the results of the
586 initial introspection, either a method in the given parent instance
587 or a simple no-arg constructor is used to create an instance of the
588 specified element type.
589<P>
590<DD><DL>
591</DL>
592</DD>
593<DD><DL>
594<DT><B>Parameters:</B><DD><CODE>project</CODE> - Project to which the parent object belongs.
595 Must not be <code>null</code>. If the resulting
596 object is an instance of ProjectComponent, its
597 Project reference is set to this parameter value.<DD><CODE>parent</CODE> - Parent object used to create the instance.
598 Must not be <code>null</code>.<DD><CODE>elementName</CODE> - Name of the element to create an instance of.
599 Must not be <code>null</code>.
600<DT><B>Returns:</B><DD>an instance of the specified element type
601<DT><B>Throws:</B>
602<DD><CODE><A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if no method is available to create the
603 element instance, or if the creating method
604 fails.</DL>
605</DD>
606</DL>
607<HR>
608
609<A NAME="getElementCreator(org.apache.tools.ant.Project, java.lang.String, java.lang.Object, java.lang.String, org.apache.tools.ant.UnknownElement)"><!-- --></A><H3>
610getElementCreator</H3>
611<PRE>
612public <A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.Creator.html" title="class in org.apache.tools.ant">IntrospectionHelper.Creator</A> <B>getElementCreator</B>(<A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A>&nbsp;project,
613 java.lang.String&nbsp;parentUri,
614 java.lang.Object&nbsp;parent,
615 java.lang.String&nbsp;elementName,
616 <A HREF="../../../../org/apache/tools/ant/UnknownElement.html" title="class in org.apache.tools.ant">UnknownElement</A>&nbsp;ue)</PRE>
617<DL>
618<DD>returns an object that creates and stores an object
619 for an element of a parent.
620<P>
621<DD><DL>
622</DL>
623</DD>
624<DD><DL>
625<DT><B>Parameters:</B><DD><CODE>project</CODE> - Project to which the parent object belongs.<DD><CODE>parentUri</CODE> - The namespace uri of the parent object.<DD><CODE>parent</CODE> - Parent object used to create the creator object to
626 create and store and instance of a subelement.<DD><CODE>elementName</CODE> - Name of the element to create an instance of.<DD><CODE>ue</CODE> - The unknown element associated with the element.
627<DT><B>Returns:</B><DD>a creator object to create and store the element instance.</DL>
628</DD>
629</DL>
630<HR>
631
632<A NAME="isDynamic()"><!-- --></A><H3>
633isDynamic</H3>
634<PRE>
635public boolean <B>isDynamic</B>()</PRE>
636<DL>
637<DD>Indicates whether the introspected class is a dynamic one,
638 supporting arbitrary nested elements and/or attributes.
639<P>
640<DD><DL>
641</DL>
642</DD>
643<DD><DL>
644
645<DT><B>Returns:</B><DD><code>true<code> if the introspected class is dynamic;
646 <code>false<code> otherwise.<DT><B>Since:</B></DT>
647 <DD>Ant 1.6.3</DD>
648<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/tools/ant/DynamicElement.html" title="interface in org.apache.tools.ant"><CODE>DynamicElement</CODE></A>,
649<A HREF="../../../../org/apache/tools/ant/DynamicElementNS.html" title="interface in org.apache.tools.ant"><CODE>DynamicElementNS</CODE></A></DL>
650</DD>
651</DL>
652<HR>
653
654<A NAME="isContainer()"><!-- --></A><H3>
655isContainer</H3>
656<PRE>
657public boolean <B>isContainer</B>()</PRE>
658<DL>
659<DD>Indicates whether the introspected class is a task container,
660 supporting arbitrary nested tasks/types.
661<P>
662<DD><DL>
663</DL>
664</DD>
665<DD><DL>
666
667<DT><B>Returns:</B><DD><code>true<code> if the introspected class is a container;
668 <code>false<code> otherwise.<DT><B>Since:</B></DT>
669 <DD>Ant 1.6.3</DD>
670<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/tools/ant/TaskContainer.html" title="interface in org.apache.tools.ant"><CODE>TaskContainer</CODE></A></DL>
671</DD>
672</DL>
673<HR>
674
675<A NAME="supportsNestedElement(java.lang.String)"><!-- --></A><H3>
676supportsNestedElement</H3>
677<PRE>
678public boolean <B>supportsNestedElement</B>(java.lang.String&nbsp;elementName)</PRE>
679<DL>
680<DD>Indicates if this element supports a nested element of the
681 given name.
682<P>
683<DD><DL>
684</DL>
685</DD>
686<DD><DL>
687<DT><B>Parameters:</B><DD><CODE>elementName</CODE> - the name of the nested element being checked
688<DT><B>Returns:</B><DD>true if the given nested element is supported</DL>
689</DD>
690</DL>
691<HR>
692
693<A NAME="supportsNestedElement(java.lang.String, java.lang.String)"><!-- --></A><H3>
694supportsNestedElement</H3>
695<PRE>
696public boolean <B>supportsNestedElement</B>(java.lang.String&nbsp;parentUri,
697 java.lang.String&nbsp;elementName)</PRE>
698<DL>
699<DD>Indicate if this element supports a nested element of the
700 given name.
701<P>
702<DD><DL>
703</DL>
704</DD>
705<DD><DL>
706<DT><B>Parameters:</B><DD><CODE>parentUri</CODE> - the uri of the parent<DD><CODE>elementName</CODE> - the name of the nested element being checked
707<DT><B>Returns:</B><DD>true if the given nested element is supported</DL>
708</DD>
709</DL>
710<HR>
711
712<A NAME="storeElement(org.apache.tools.ant.Project, java.lang.Object, java.lang.Object, java.lang.String)"><!-- --></A><H3>
713storeElement</H3>
714<PRE>
715public void <B>storeElement</B>(<A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A>&nbsp;project,
716 java.lang.Object&nbsp;parent,
717 java.lang.Object&nbsp;child,
718 java.lang.String&nbsp;elementName)
719 throws <A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
720<DL>
721<DD>Stores a named nested element using a storage method determined
722 by the initial introspection. If no appropriate storage method
723 is available, this method returns immediately.
724<P>
725<DD><DL>
726</DL>
727</DD>
728<DD><DL>
729<DT><B>Parameters:</B><DD><CODE>project</CODE> - Ignored in this implementation.
730 May be <code>null</code>.<DD><CODE>parent</CODE> - Parent instance to store the child in.
731 Must not be <code>null</code>.<DD><CODE>child</CODE> - Child instance to store in the parent.
732 Should not be <code>null</code>.<DD><CODE>elementName</CODE> - Name of the child element to store.
733 May be <code>null</code>, in which case
734 this method returns immediately.
735<DT><B>Throws:</B>
736<DD><CODE><A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if the storage method fails.</DL>
737</DD>
738</DL>
739<HR>
740
741<A NAME="getElementType(java.lang.String)"><!-- --></A><H3>
742getElementType</H3>
743<PRE>
744public java.lang.Class <B>getElementType</B>(java.lang.String&nbsp;elementName)
745 throws <A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
746<DL>
747<DD>Returns the type of a named nested element.
748<P>
749<DD><DL>
750</DL>
751</DD>
752<DD><DL>
753<DT><B>Parameters:</B><DD><CODE>elementName</CODE> - The name of the element to find the type of.
754 Must not be <code>null</code>.
755<DT><B>Returns:</B><DD>the type of the nested element with the specified name.
756 This will never be <code>null</code>.
757<DT><B>Throws:</B>
758<DD><CODE><A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if the introspected class does not
759 support the named nested element.</DL>
760</DD>
761</DL>
762<HR>
763
764<A NAME="getAttributeType(java.lang.String)"><!-- --></A><H3>
765getAttributeType</H3>
766<PRE>
767public java.lang.Class <B>getAttributeType</B>(java.lang.String&nbsp;attributeName)
768 throws <A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
769<DL>
770<DD>Returns the type of a named attribute.
771<P>
772<DD><DL>
773</DL>
774</DD>
775<DD><DL>
776<DT><B>Parameters:</B><DD><CODE>attributeName</CODE> - The name of the attribute to find the type of.
777 Must not be <code>null</code>.
778<DT><B>Returns:</B><DD>the type of the attribute with the specified name.
779 This will never be <code>null</code>.
780<DT><B>Throws:</B>
781<DD><CODE><A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if the introspected class does not
782 support the named attribute.</DL>
783</DD>
784</DL>
785<HR>
786
787<A NAME="getAddTextMethod()"><!-- --></A><H3>
788getAddTextMethod</H3>
789<PRE>
790public java.lang.reflect.Method <B>getAddTextMethod</B>()
791 throws <A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
792<DL>
793<DD>Returns the addText method when the introspected
794 class supports nested text.
795<P>
796<DD><DL>
797</DL>
798</DD>
799<DD><DL>
800
801<DT><B>Returns:</B><DD>the method on this introspected class that adds nested text.
802 Cannot be <code>null</code>.
803<DT><B>Throws:</B>
804<DD><CODE><A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if the introspected class does not
805 support the nested text.<DT><B>Since:</B></DT>
806 <DD>Ant 1.6.3</DD>
807</DL>
808</DD>
809</DL>
810<HR>
811
812<A NAME="getElementMethod(java.lang.String)"><!-- --></A><H3>
813getElementMethod</H3>
814<PRE>
815public java.lang.reflect.Method <B>getElementMethod</B>(java.lang.String&nbsp;elementName)
816 throws <A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
817<DL>
818<DD>Returns the adder or creator method of a named nested element.
819<P>
820<DD><DL>
821</DL>
822</DD>
823<DD><DL>
824<DT><B>Parameters:</B><DD><CODE>elementName</CODE> - The name of the attribute to find the setter
825 method of. Must not be <code>null</code>.
826<DT><B>Returns:</B><DD>the method on this introspected class that adds or creates this
827 nested element. Can be <code>null</code> when the introspected
828 class is a dynamic configurator!
829<DT><B>Throws:</B>
830<DD><CODE><A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if the introspected class does not
831 support the named nested element.<DT><B>Since:</B></DT>
832 <DD>Ant 1.6.3</DD>
833</DL>
834</DD>
835</DL>
836<HR>
837
838<A NAME="getAttributeMethod(java.lang.String)"><!-- --></A><H3>
839getAttributeMethod</H3>
840<PRE>
841public java.lang.reflect.Method <B>getAttributeMethod</B>(java.lang.String&nbsp;attributeName)
842 throws <A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
843<DL>
844<DD>Returns the setter method of a named attribute.
845<P>
846<DD><DL>
847</DL>
848</DD>
849<DD><DL>
850<DT><B>Parameters:</B><DD><CODE>attributeName</CODE> - The name of the attribute to find the setter
851 method of. Must not be <code>null</code>.
852<DT><B>Returns:</B><DD>the method on this introspected class that sets this attribute.
853 This will never be <code>null</code>.
854<DT><B>Throws:</B>
855<DD><CODE><A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if the introspected class does not
856 support the named attribute.<DT><B>Since:</B></DT>
857 <DD>Ant 1.6.3</DD>
858</DL>
859</DD>
860</DL>
861<HR>
862
863<A NAME="supportsCharacters()"><!-- --></A><H3>
864supportsCharacters</H3>
865<PRE>
866public boolean <B>supportsCharacters</B>()</PRE>
867<DL>
868<DD>Returns whether or not the introspected class supports PCDATA.
869<P>
870<DD><DL>
871</DL>
872</DD>
873<DD><DL>
874
875<DT><B>Returns:</B><DD>whether or not the introspected class supports PCDATA.</DL>
876</DD>
877</DL>
878<HR>
879
880<A NAME="getAttributes()"><!-- --></A><H3>
881getAttributes</H3>
882<PRE>
883public java.util.Enumeration <B>getAttributes</B>()</PRE>
884<DL>
885<DD>Returns an enumeration of the names of the attributes supported
886 by the introspected class.
887<P>
888<DD><DL>
889</DL>
890</DD>
891<DD><DL>
892
893<DT><B>Returns:</B><DD>an enumeration of the names of the attributes supported
894 by the introspected class.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.html#getAttributeMap()"><CODE>getAttributeMap()</CODE></A></DL>
895</DD>
896</DL>
897<HR>
898
899<A NAME="getAttributeMap()"><!-- --></A><H3>
900getAttributeMap</H3>
901<PRE>
902public java.util.Map <B>getAttributeMap</B>()</PRE>
903<DL>
904<DD>Returns a read-only map of attributes supported
905 by the introspected class.
906<P>
907<DD><DL>
908</DL>
909</DD>
910<DD><DL>
911
912<DT><B>Returns:</B><DD>an attribute name to attribute <code>Class</code>
913 unmodifiable map. Can be empty, but never <code>null</code>.<DT><B>Since:</B></DT>
914 <DD>Ant 1.6.3</DD>
915</DL>
916</DD>
917</DL>
918<HR>
919
920<A NAME="getNestedElements()"><!-- --></A><H3>
921getNestedElements</H3>
922<PRE>
923public java.util.Enumeration <B>getNestedElements</B>()</PRE>
924<DL>
925<DD>Returns an enumeration of the names of the nested elements supported
926 by the introspected class.
927<P>
928<DD><DL>
929</DL>
930</DD>
931<DD><DL>
932
933<DT><B>Returns:</B><DD>an enumeration of the names of the nested elements supported
934 by the introspected class.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.html#getNestedElementMap()"><CODE>getNestedElementMap()</CODE></A></DL>
935</DD>
936</DL>
937<HR>
938
939<A NAME="getNestedElementMap()"><!-- --></A><H3>
940getNestedElementMap</H3>
941<PRE>
942public java.util.Map <B>getNestedElementMap</B>()</PRE>
943<DL>
944<DD>Returns a read-only map of nested elements supported
945 by the introspected class.
946<P>
947<DD><DL>
948</DL>
949</DD>
950<DD><DL>
951
952<DT><B>Returns:</B><DD>a nested-element name to nested-element <code>Class</code>
953 unmodifiable map. Can be empty, but never <code>null</code>.<DT><B>Since:</B></DT>
954 <DD>Ant 1.6.3</DD>
955</DL>
956</DD>
957</DL>
958<HR>
959
960<A NAME="getExtensionPoints()"><!-- --></A><H3>
961getExtensionPoints</H3>
962<PRE>
963public java.util.List <B>getExtensionPoints</B>()</PRE>
964<DL>
965<DD>Returns a read-only list of extension points supported
966 by the introspected class.
967 <p>
968 A task/type or nested element with void methods named <code>add()<code>
969 or <code>addConfigured()</code>, taking a single class or interface
970 argument, supports extensions point. This method returns the list of
971 all these <em>void add[Configured](type)</em> methods.
972<P>
973<DD><DL>
974</DL>
975</DD>
976<DD><DL>
977
978<DT><B>Returns:</B><DD>a list of void, single argument add() or addConfigured()
979 <code>Method<code>s of all supported extension points.
980 These methods are sorted such that if the argument type of a
981 method derives from another type also an argument of a method
982 of this list, the method with the most derived argument will
983 always appear first. Can be empty, but never <code>null</code>.<DT><B>Since:</B></DT>
984 <DD>Ant 1.6.3</DD>
985</DL>
986</DD>
987</DL>
988<HR>
989
990<A NAME="getElementName(org.apache.tools.ant.Project, java.lang.Object)"><!-- --></A><H3>
991getElementName</H3>
992<PRE>
993protected java.lang.String <B>getElementName</B>(<A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A>&nbsp;project,
994 java.lang.Object&nbsp;element)</PRE>
995<DL>
996<DD>Returns a description of the type of the given element in
997 relation to a given project. This is used for logging purposes
998 when the element is asked to cope with some data it has no
999 way of handling.
1000<P>
1001<DD><DL>
1002</DL>
1003</DD>
1004<DD><DL>
1005<DT><B>Parameters:</B><DD><CODE>project</CODE> - The project the element is defined in.
1006 Must not be <code>null</code>.<DD><CODE>element</CODE> - The element to describe.
1007 Must not be <code>null</code>.
1008<DT><B>Returns:</B><DD>a description of the element type</DL>
1009</DD>
1010</DL>
1011<HR>
1012
1013<A NAME="buildFinished(org.apache.tools.ant.BuildEvent)"><!-- --></A><H3>
1014buildFinished</H3>
1015<PRE>
1016public void <B>buildFinished</B>(<A HREF="../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant">BuildEvent</A>&nbsp;event)</PRE>
1017<DL>
1018<DD>Clears all storage used by this class, including the static cache of
1019 helpers.
1020<P>
1021<DD><DL>
1022<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/tools/ant/BuildListener.html#buildFinished(org.apache.tools.ant.BuildEvent)">buildFinished</A></CODE> in interface <CODE><A HREF="../../../../org/apache/tools/ant/BuildListener.html" title="interface in org.apache.tools.ant">BuildListener</A></CODE></DL>
1023</DD>
1024<DD><DL>
1025<DT><B>Parameters:</B><DD><CODE>event</CODE> - Ignored in this implementation.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/tools/ant/BuildEvent.html#getException()"><CODE>BuildEvent.getException()</CODE></A></DL>
1026</DD>
1027</DL>
1028<HR>
1029
1030<A NAME="buildStarted(org.apache.tools.ant.BuildEvent)"><!-- --></A><H3>
1031buildStarted</H3>
1032<PRE>
1033public void <B>buildStarted</B>(<A HREF="../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant">BuildEvent</A>&nbsp;event)</PRE>
1034<DL>
1035<DD>Empty implementation to satisfy the BuildListener interface.
1036<P>
1037<DD><DL>
1038<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/tools/ant/BuildListener.html#buildStarted(org.apache.tools.ant.BuildEvent)">buildStarted</A></CODE> in interface <CODE><A HREF="../../../../org/apache/tools/ant/BuildListener.html" title="interface in org.apache.tools.ant">BuildListener</A></CODE></DL>
1039</DD>
1040<DD><DL>
1041<DT><B>Parameters:</B><DD><CODE>event</CODE> - Ignored in this implementation.</DL>
1042</DD>
1043</DL>
1044<HR>
1045
1046<A NAME="targetStarted(org.apache.tools.ant.BuildEvent)"><!-- --></A><H3>
1047targetStarted</H3>
1048<PRE>
1049public void <B>targetStarted</B>(<A HREF="../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant">BuildEvent</A>&nbsp;event)</PRE>
1050<DL>
1051<DD>Empty implementation to satisfy the BuildListener interface.
1052<P>
1053<DD><DL>
1054<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/tools/ant/BuildListener.html#targetStarted(org.apache.tools.ant.BuildEvent)">targetStarted</A></CODE> in interface <CODE><A HREF="../../../../org/apache/tools/ant/BuildListener.html" title="interface in org.apache.tools.ant">BuildListener</A></CODE></DL>
1055</DD>
1056<DD><DL>
1057<DT><B>Parameters:</B><DD><CODE>event</CODE> - Ignored in this implementation.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/tools/ant/BuildEvent.html#getTarget()"><CODE>BuildEvent.getTarget()</CODE></A></DL>
1058</DD>
1059</DL>
1060<HR>
1061
1062<A NAME="targetFinished(org.apache.tools.ant.BuildEvent)"><!-- --></A><H3>
1063targetFinished</H3>
1064<PRE>
1065public void <B>targetFinished</B>(<A HREF="../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant">BuildEvent</A>&nbsp;event)</PRE>
1066<DL>
1067<DD>Empty implementation to satisfy the BuildListener interface.
1068<P>
1069<DD><DL>
1070<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/tools/ant/BuildListener.html#targetFinished(org.apache.tools.ant.BuildEvent)">targetFinished</A></CODE> in interface <CODE><A HREF="../../../../org/apache/tools/ant/BuildListener.html" title="interface in org.apache.tools.ant">BuildListener</A></CODE></DL>
1071</DD>
1072<DD><DL>
1073<DT><B>Parameters:</B><DD><CODE>event</CODE> - Ignored in this implementation.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/tools/ant/BuildEvent.html#getException()"><CODE>BuildEvent.getException()</CODE></A></DL>
1074</DD>
1075</DL>
1076<HR>
1077
1078<A NAME="taskStarted(org.apache.tools.ant.BuildEvent)"><!-- --></A><H3>
1079taskStarted</H3>
1080<PRE>
1081public void <B>taskStarted</B>(<A HREF="../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant">BuildEvent</A>&nbsp;event)</PRE>
1082<DL>
1083<DD>Empty implementation to satisfy the BuildListener interface.
1084<P>
1085<DD><DL>
1086<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/tools/ant/BuildListener.html#taskStarted(org.apache.tools.ant.BuildEvent)">taskStarted</A></CODE> in interface <CODE><A HREF="../../../../org/apache/tools/ant/BuildListener.html" title="interface in org.apache.tools.ant">BuildListener</A></CODE></DL>
1087</DD>
1088<DD><DL>
1089<DT><B>Parameters:</B><DD><CODE>event</CODE> - Ignored in this implementation.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/tools/ant/BuildEvent.html#getTask()"><CODE>BuildEvent.getTask()</CODE></A></DL>
1090</DD>
1091</DL>
1092<HR>
1093
1094<A NAME="taskFinished(org.apache.tools.ant.BuildEvent)"><!-- --></A><H3>
1095taskFinished</H3>
1096<PRE>
1097public void <B>taskFinished</B>(<A HREF="../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant">BuildEvent</A>&nbsp;event)</PRE>
1098<DL>
1099<DD>Empty implementation to satisfy the BuildListener interface.
1100<P>
1101<DD><DL>
1102<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/tools/ant/BuildListener.html#taskFinished(org.apache.tools.ant.BuildEvent)">taskFinished</A></CODE> in interface <CODE><A HREF="../../../../org/apache/tools/ant/BuildListener.html" title="interface in org.apache.tools.ant">BuildListener</A></CODE></DL>
1103</DD>
1104<DD><DL>
1105<DT><B>Parameters:</B><DD><CODE>event</CODE> - Ignored in this implementation.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/tools/ant/BuildEvent.html#getException()"><CODE>BuildEvent.getException()</CODE></A></DL>
1106</DD>
1107</DL>
1108<HR>
1109
1110<A NAME="messageLogged(org.apache.tools.ant.BuildEvent)"><!-- --></A><H3>
1111messageLogged</H3>
1112<PRE>
1113public void <B>messageLogged</B>(<A HREF="../../../../org/apache/tools/ant/BuildEvent.html" title="class in org.apache.tools.ant">BuildEvent</A>&nbsp;event)</PRE>
1114<DL>
1115<DD>Empty implementation to satisfy the BuildListener interface.
1116<P>
1117<DD><DL>
1118<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/apache/tools/ant/BuildListener.html#messageLogged(org.apache.tools.ant.BuildEvent)">messageLogged</A></CODE> in interface <CODE><A HREF="../../../../org/apache/tools/ant/BuildListener.html" title="interface in org.apache.tools.ant">BuildListener</A></CODE></DL>
1119</DD>
1120<DD><DL>
1121<DT><B>Parameters:</B><DD><CODE>event</CODE> - Ignored in this implementation.<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/tools/ant/BuildEvent.html#getMessage()"><CODE>BuildEvent.getMessage()</CODE></A>,
1122<A HREF="../../../../org/apache/tools/ant/BuildEvent.html#getPriority()"><CODE>BuildEvent.getPriority()</CODE></A></DL>
1123</DD>
1124</DL>
1125<!-- ========= END OF CLASS DATA ========= -->
1126<HR>
1127
1128
1129<!-- ======= START OF BOTTOM NAVBAR ====== -->
1130<A NAME="navbar_bottom"><!-- --></A>
1131<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
1132<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
1133<TR>
1134<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
1135<A NAME="navbar_bottom_firstrow"><!-- --></A>
1136<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
1137 <TR ALIGN="center" VALIGN="top">
1138 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
1139 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
1140 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
1141 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
1142 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
1143 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
1144 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
1145 </TR>
1146</TABLE>
1147</TD>
1148<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
1149</EM>
1150</TD>
1151</TR>
1152
1153<TR>
1154<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
1155&nbsp;<A HREF="../../../../org/apache/tools/ant/DirectoryScanner.html" title="class in org.apache.tools.ant"><B>PREV CLASS</B></A>&nbsp;
1156&nbsp;<A HREF="../../../../org/apache/tools/ant/IntrospectionHelper.Creator.html" title="class in org.apache.tools.ant"><B>NEXT CLASS</B></A></FONT></TD>
1157<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
1158 <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
1159&nbsp;<A HREF="IntrospectionHelper.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
1160&nbsp;<SCRIPT type="text/javascript">
1161 <!--
1162 if(window==top) {
1163 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
1164 }
1165 //-->
1166</SCRIPT>
1167<NOSCRIPT>
1168 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
1169</NOSCRIPT>
1170
1171</FONT></TD>
1172</TR>
1173<TR>
1174<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1175 SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
1176<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1177DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
1178</TR>
1179</TABLE>
1180<A NAME="skip-navbar_bottom"></A>
1181<!-- ======== END OF BOTTOM NAVBAR ======= -->
1182
1183<HR>
1184Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
1185</BODY>
1186</HTML>
Note: See TracBrowser for help on using the repository browser.