source: other-projects/trunk/gs3-release-maker/apache-ant-1.6.5/build/javadocs/org/apache/tools/ant/UnknownElement.html@ 14627

Last change on this file since 14627 was 14627, checked in by oranfry, 17 years ago

initial import of the gs3-release-maker

File size: 41.9 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>
7UnknownElement (Apache Ant API)
8</TITLE>
9
10<META NAME="keywords" CONTENT="org.apache.tools.ant.UnknownElement 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="UnknownElement (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/TaskAdapter.html" title="class in org.apache.tools.ant"><B>PREV CLASS</B></A>&nbsp;
53&nbsp;<A HREF="../../../../org/apache/tools/ant/XmlLogger.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="UnknownElement.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;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.tools.ant.Task">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
73<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
74DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&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 UnknownElement</H2>
87<PRE>
88java.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/Task.html" title="class in org.apache.tools.ant">org.apache.tools.ant.Task</A>
91 <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.UnknownElement</B>
92</PRE>
93<HR>
94<DL>
95<DT>public class <B>UnknownElement</B><DT>extends <A HREF="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></DL>
96
97<P>
98Wrapper class that holds all the information necessary to create a task
99 or data type that did not exist when Ant started, or one which
100 has had its definition updated to use a different implementation class.
101<P>
102
103<P>
104<HR>
105
106<P>
107<!-- ======== NESTED CLASS SUMMARY ======== -->
108
109
110<!-- =========== FIELD SUMMARY =========== -->
111
112<A NAME="field_summary"><!-- --></A>
113<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
114<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
115<TD COLSPAN=2><FONT SIZE="+2">
116<B>Field Summary</B></FONT></TD>
117</TR>
118</TABLE>
119&nbsp;<A NAME="fields_inherited_from_class_org.apache.tools.ant.Task"><!-- --></A>
120<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
121<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
122<TD><B>Fields inherited from class org.apache.tools.ant.<A HREF="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></B></TD>
123</TR>
124<TR BGCOLOR="white" CLASS="TableRowColor">
125<TD><CODE><A HREF="../../../../org/apache/tools/ant/Task.html#description">description</A>, <A HREF="../../../../org/apache/tools/ant/Task.html#location">location</A>, <A HREF="../../../../org/apache/tools/ant/Task.html#target">target</A>, <A HREF="../../../../org/apache/tools/ant/Task.html#taskName">taskName</A>, <A HREF="../../../../org/apache/tools/ant/Task.html#taskType">taskType</A>, <A HREF="../../../../org/apache/tools/ant/Task.html#wrapper">wrapper</A></CODE></TD>
126</TR>
127</TABLE>
128&nbsp;<A NAME="fields_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
129<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
130<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
131<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>
132</TR>
133<TR BGCOLOR="white" CLASS="TableRowColor">
134<TD><CODE><A HREF="../../../../org/apache/tools/ant/ProjectComponent.html#project">project</A></CODE></TD>
135</TR>
136</TABLE>
137&nbsp;
138<!-- ======== CONSTRUCTOR SUMMARY ======== -->
139
140<A NAME="constructor_summary"><!-- --></A>
141<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
142<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
143<TD COLSPAN=2><FONT SIZE="+2">
144<B>Constructor Summary</B></FONT></TD>
145</TR>
146<TR BGCOLOR="white" CLASS="TableRowColor">
147<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/UnknownElement.html#UnknownElement(java.lang.String)">UnknownElement</A></B>(java.lang.String&nbsp;elementName)</CODE>
148
149<BR>
150&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an UnknownElement for the given element name.</TD>
151</TR>
152</TABLE>
153&nbsp;
154<!-- ========== METHOD SUMMARY =========== -->
155
156<A NAME="method_summary"><!-- --></A>
157<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
158<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
159<TD COLSPAN=2><FONT SIZE="+2">
160<B>Method Summary</B></FONT></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/UnknownElement.html#addChild(org.apache.tools.ant.UnknownElement)">addChild</A></B>(<A HREF="../../../../org/apache/tools/ant/UnknownElement.html" title="class in org.apache.tools.ant">UnknownElement</A>&nbsp;child)</CODE>
166
167<BR>
168&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds a child element to this element.</TD>
169</TR>
170<TR BGCOLOR="white" CLASS="TableRowColor">
171<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
172<CODE>&nbsp;void</CODE></FONT></TD>
173<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/UnknownElement.html#applyPreSet(org.apache.tools.ant.UnknownElement)">applyPreSet</A></B>(<A HREF="../../../../org/apache/tools/ant/UnknownElement.html" title="class in org.apache.tools.ant">UnknownElement</A>&nbsp;u)</CODE>
174
175<BR>
176&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is used then the realobject of the UE is a PreSetDefinition.</TD>
177</TR>
178<TR BGCOLOR="white" CLASS="TableRowColor">
179<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
180<CODE>&nbsp;void</CODE></FONT></TD>
181<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/UnknownElement.html#configure(java.lang.Object)">configure</A></B>(java.lang.Object&nbsp;realObject)</CODE>
182
183<BR>
184&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Configure the given object from this UnknownElement</TD>
185</TR>
186<TR BGCOLOR="white" CLASS="TableRowColor">
187<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
188<CODE>&nbsp;void</CODE></FONT></TD>
189<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/UnknownElement.html#execute()">execute</A></B>()</CODE>
190
191<BR>
192&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Executes the real object if it's a task.</TD>
193</TR>
194<TR BGCOLOR="white" CLASS="TableRowColor">
195<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
196<CODE>&nbsp;java.util.List</CODE></FONT></TD>
197<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/UnknownElement.html#getChildren()">getChildren</A></B>()</CODE>
198
199<BR>
200&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
201</TR>
202<TR BGCOLOR="white" CLASS="TableRowColor">
203<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
204<CODE>protected &nbsp;java.lang.String</CODE></FONT></TD>
205<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/UnknownElement.html#getComponentName()">getComponentName</A></B>()</CODE>
206
207<BR>
208&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
209</TR>
210<TR BGCOLOR="white" CLASS="TableRowColor">
211<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
212<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
213<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/UnknownElement.html#getNamespace()">getNamespace</A></B>()</CODE>
214
215<BR>
216&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the namespace of the XML element associated with this component.</TD>
217</TR>
218<TR BGCOLOR="white" CLASS="TableRowColor">
219<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
220<CODE>protected &nbsp;<A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE></FONT></TD>
221<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/UnknownElement.html#getNotFoundException(java.lang.String, java.lang.String)">getNotFoundException</A></B>(java.lang.String&nbsp;what,
222 java.lang.String&nbsp;elementName)</CODE>
223
224<BR>
225&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a very verbose exception for when a task/data type cannot
226 be found.</TD>
227</TR>
228<TR BGCOLOR="white" CLASS="TableRowColor">
229<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
230<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
231<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/UnknownElement.html#getQName()">getQName</A></B>()</CODE>
232
233<BR>
234&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the qname of the XML element associated with this component.</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.Object</CODE></FONT></TD>
239<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/UnknownElement.html#getRealThing()">getRealThing</A></B>()</CODE>
240
241<BR>
242&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the configured object</TD>
243</TR>
244<TR BGCOLOR="white" CLASS="TableRowColor">
245<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
246<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
247<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/UnknownElement.html#getTag()">getTag</A></B>()</CODE>
248
249<BR>
250&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the name of the XML element which generated this unknown
251 element.</TD>
252</TR>
253<TR BGCOLOR="white" CLASS="TableRowColor">
254<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
255<CODE>&nbsp;<A HREF="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></CODE></FONT></TD>
256<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/UnknownElement.html#getTask()">getTask</A></B>()</CODE>
257
258<BR>
259&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the task instance after it has been created and if it is a task.</TD>
260</TR>
261<TR BGCOLOR="white" CLASS="TableRowColor">
262<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
263<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
264<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/UnknownElement.html#getTaskName()">getTaskName</A></B>()</CODE>
265
266<BR>
267&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the name to use in logging messages.</TD>
268</TR>
269<TR BGCOLOR="white" CLASS="TableRowColor">
270<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
271<CODE>&nbsp;<A HREF="../../../../org/apache/tools/ant/RuntimeConfigurable.html" title="class in org.apache.tools.ant">RuntimeConfigurable</A></CODE></FONT></TD>
272<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/UnknownElement.html#getWrapper()">getWrapper</A></B>()</CODE>
273
274<BR>
275&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the RuntimeConfigurable instance for this UnknownElement, containing
276 the configuration information.</TD>
277</TR>
278<TR BGCOLOR="white" CLASS="TableRowColor">
279<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
280<CODE>protected &nbsp;void</CODE></FONT></TD>
281<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/UnknownElement.html#handleChildren(java.lang.Object, org.apache.tools.ant.RuntimeConfigurable)">handleChildren</A></B>(java.lang.Object&nbsp;parent,
282 <A HREF="../../../../org/apache/tools/ant/RuntimeConfigurable.html" title="class in org.apache.tools.ant">RuntimeConfigurable</A>&nbsp;parentWrapper)</CODE>
283
284<BR>
285&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates child elements, creates children of the children
286 (recursively), and sets attributes of the child elements.</TD>
287</TR>
288<TR BGCOLOR="white" CLASS="TableRowColor">
289<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
290<CODE>protected &nbsp;void</CODE></FONT></TD>
291<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/UnknownElement.html#handleErrorFlush(java.lang.String)">handleErrorFlush</A></B>(java.lang.String&nbsp;output)</CODE>
292
293<BR>
294&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Handles error output sent to System.err by this task or its real task.</TD>
295</TR>
296<TR BGCOLOR="white" CLASS="TableRowColor">
297<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
298<CODE>protected &nbsp;void</CODE></FONT></TD>
299<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/UnknownElement.html#handleErrorOutput(java.lang.String)">handleErrorOutput</A></B>(java.lang.String&nbsp;output)</CODE>
300
301<BR>
302&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Handles error output sent to System.err by this task or its real task.</TD>
303</TR>
304<TR BGCOLOR="white" CLASS="TableRowColor">
305<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
306<CODE>protected &nbsp;void</CODE></FONT></TD>
307<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/UnknownElement.html#handleFlush(java.lang.String)">handleFlush</A></B>(java.lang.String&nbsp;output)</CODE>
308
309<BR>
310&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Handles output sent to System.out by this task or its real task.</TD>
311</TR>
312<TR BGCOLOR="white" CLASS="TableRowColor">
313<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
314<CODE>protected &nbsp;int</CODE></FONT></TD>
315<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/UnknownElement.html#handleInput(byte[], int, int)">handleInput</A></B>(byte[]&nbsp;buffer,
316 int&nbsp;offset,
317 int&nbsp;length)</CODE>
318
319<BR>
320&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Handle an input request by this task</TD>
321</TR>
322<TR BGCOLOR="white" CLASS="TableRowColor">
323<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
324<CODE>protected &nbsp;void</CODE></FONT></TD>
325<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/UnknownElement.html#handleOutput(java.lang.String)">handleOutput</A></B>(java.lang.String&nbsp;output)</CODE>
326
327<BR>
328&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Handles output sent to System.out by this task or its real task.</TD>
329</TR>
330<TR BGCOLOR="white" CLASS="TableRowColor">
331<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
332<CODE>protected &nbsp;java.lang.Object</CODE></FONT></TD>
333<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/UnknownElement.html#makeObject(org.apache.tools.ant.UnknownElement, org.apache.tools.ant.RuntimeConfigurable)">makeObject</A></B>(<A HREF="../../../../org/apache/tools/ant/UnknownElement.html" title="class in org.apache.tools.ant">UnknownElement</A>&nbsp;ue,
334 <A HREF="../../../../org/apache/tools/ant/RuntimeConfigurable.html" title="class in org.apache.tools.ant">RuntimeConfigurable</A>&nbsp;w)</CODE>
335
336<BR>
337&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a named task or data type.</TD>
338</TR>
339<TR BGCOLOR="white" CLASS="TableRowColor">
340<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
341<CODE>protected &nbsp;<A HREF="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></CODE></FONT></TD>
342<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/UnknownElement.html#makeTask(org.apache.tools.ant.UnknownElement, org.apache.tools.ant.RuntimeConfigurable)">makeTask</A></B>(<A HREF="../../../../org/apache/tools/ant/UnknownElement.html" title="class in org.apache.tools.ant">UnknownElement</A>&nbsp;ue,
343 <A HREF="../../../../org/apache/tools/ant/RuntimeConfigurable.html" title="class in org.apache.tools.ant">RuntimeConfigurable</A>&nbsp;w)</CODE>
344
345<BR>
346&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a named task and configures it up to the init() stage.</TD>
347</TR>
348<TR BGCOLOR="white" CLASS="TableRowColor">
349<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
350<CODE>&nbsp;void</CODE></FONT></TD>
351<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/UnknownElement.html#maybeConfigure()">maybeConfigure</A></B>()</CODE>
352
353<BR>
354&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates the real object instance and child elements, then configures
355 the attributes and text of the real object.</TD>
356</TR>
357<TR BGCOLOR="white" CLASS="TableRowColor">
358<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
359<CODE>&nbsp;void</CODE></FONT></TD>
360<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/UnknownElement.html#setNamespace(java.lang.String)">setNamespace</A></B>(java.lang.String&nbsp;namespace)</CODE>
361
362<BR>
363&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the namespace of the XML element associated with this component.</TD>
364</TR>
365<TR BGCOLOR="white" CLASS="TableRowColor">
366<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
367<CODE>&nbsp;void</CODE></FONT></TD>
368<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/UnknownElement.html#setQName(java.lang.String)">setQName</A></B>(java.lang.String&nbsp;qname)</CODE>
369
370<BR>
371&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the namespace qname of the XML element.</TD>
372</TR>
373<TR BGCOLOR="white" CLASS="TableRowColor">
374<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
375<CODE>&nbsp;boolean</CODE></FONT></TD>
376<TD><CODE><B><A HREF="../../../../org/apache/tools/ant/UnknownElement.html#similar(java.lang.Object)">similar</A></B>(java.lang.Object&nbsp;obj)</CODE>
377
378<BR>
379&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;like contents equals, but ignores project</TD>
380</TR>
381</TABLE>
382&nbsp;<A NAME="methods_inherited_from_class_org.apache.tools.ant.Task"><!-- --></A>
383<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
384<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
385<TD><B>Methods inherited from class org.apache.tools.ant.<A HREF="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></B></TD>
386</TR>
387<TR BGCOLOR="white" CLASS="TableRowColor">
388<TD><CODE><A HREF="../../../../org/apache/tools/ant/Task.html#getDescription()">getDescription</A>, <A HREF="../../../../org/apache/tools/ant/Task.html#getLocation()">getLocation</A>, <A HREF="../../../../org/apache/tools/ant/Task.html#getOwningTarget()">getOwningTarget</A>, <A HREF="../../../../org/apache/tools/ant/Task.html#getRuntimeConfigurableWrapper()">getRuntimeConfigurableWrapper</A>, <A HREF="../../../../org/apache/tools/ant/Task.html#getTaskType()">getTaskType</A>, <A HREF="../../../../org/apache/tools/ant/Task.html#init()">init</A>, <A HREF="../../../../org/apache/tools/ant/Task.html#isInvalid()">isInvalid</A>, <A HREF="../../../../org/apache/tools/ant/Task.html#log(java.lang.String)">log</A>, <A HREF="../../../../org/apache/tools/ant/Task.html#log(java.lang.String, int)">log</A>, <A HREF="../../../../org/apache/tools/ant/Task.html#perform()">perform</A>, <A HREF="../../../../org/apache/tools/ant/Task.html#reconfigure()">reconfigure</A>, <A HREF="../../../../org/apache/tools/ant/Task.html#setDescription(java.lang.String)">setDescription</A>, <A HREF="../../../../org/apache/tools/ant/Task.html#setLocation(org.apache.tools.ant.Location)">setLocation</A>, <A HREF="../../../../org/apache/tools/ant/Task.html#setOwningTarget(org.apache.tools.ant.Target)">setOwningTarget</A>, <A HREF="../../../../org/apache/tools/ant/Task.html#setRuntimeConfigurableWrapper(org.apache.tools.ant.RuntimeConfigurable)">setRuntimeConfigurableWrapper</A>, <A HREF="../../../../org/apache/tools/ant/Task.html#setTaskName(java.lang.String)">setTaskName</A>, <A HREF="../../../../org/apache/tools/ant/Task.html#setTaskType(java.lang.String)">setTaskType</A></CODE></TD>
389</TR>
390</TABLE>
391&nbsp;<A NAME="methods_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
392<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
393<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
394<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>
395</TR>
396<TR BGCOLOR="white" CLASS="TableRowColor">
397<TD><CODE><A HREF="../../../../org/apache/tools/ant/ProjectComponent.html#getProject()">getProject</A>, <A HREF="../../../../org/apache/tools/ant/ProjectComponent.html#setProject(org.apache.tools.ant.Project)">setProject</A></CODE></TD>
398</TR>
399</TABLE>
400&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
401<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
402<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
403<TD><B>Methods inherited from class java.lang.Object</B></TD>
404</TR>
405<TR BGCOLOR="white" CLASS="TableRowColor">
406<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
407</TR>
408</TABLE>
409&nbsp;
410<P>
411
412<!-- ============ FIELD DETAIL =========== -->
413
414
415<!-- ========= CONSTRUCTOR DETAIL ======== -->
416
417<A NAME="constructor_detail"><!-- --></A>
418<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
419<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
420<TD COLSPAN=1><FONT SIZE="+2">
421<B>Constructor Detail</B></FONT></TD>
422</TR>
423</TABLE>
424
425<A NAME="UnknownElement(java.lang.String)"><!-- --></A><H3>
426UnknownElement</H3>
427<PRE>
428public <B>UnknownElement</B>(java.lang.String&nbsp;elementName)</PRE>
429<DL>
430<DD>Creates an UnknownElement for the given element name.
431<P>
432<DT><B>Parameters:</B><DD><CODE>elementName</CODE> - The name of the unknown element.
433 Must not be <code>null</code>.</DL>
434
435<!-- ============ METHOD DETAIL ========== -->
436
437<A NAME="method_detail"><!-- --></A>
438<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
439<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
440<TD COLSPAN=1><FONT SIZE="+2">
441<B>Method Detail</B></FONT></TD>
442</TR>
443</TABLE>
444
445<A NAME="getChildren()"><!-- --></A><H3>
446getChildren</H3>
447<PRE>
448public java.util.List <B>getChildren</B>()</PRE>
449<DL>
450<DD><DL>
451
452<DT><B>Returns:</B><DD>the list of nested UnknownElements for this UnknownElement.</DL>
453</DD>
454</DL>
455<HR>
456
457<A NAME="getTag()"><!-- --></A><H3>
458getTag</H3>
459<PRE>
460public java.lang.String <B>getTag</B>()</PRE>
461<DL>
462<DD>Returns the name of the XML element which generated this unknown
463 element.
464<P>
465<DD><DL>
466
467<DT><B>Returns:</B><DD>the name of the XML element which generated this unknown
468 element.</DL>
469</DD>
470</DL>
471<HR>
472
473<A NAME="getNamespace()"><!-- --></A><H3>
474getNamespace</H3>
475<PRE>
476public java.lang.String <B>getNamespace</B>()</PRE>
477<DL>
478<DD>Return the namespace of the XML element associated with this component.
479<P>
480<DD><DL>
481
482<DT><B>Returns:</B><DD>Namespace URI used in the xmlns declaration.</DL>
483</DD>
484</DL>
485<HR>
486
487<A NAME="setNamespace(java.lang.String)"><!-- --></A><H3>
488setNamespace</H3>
489<PRE>
490public void <B>setNamespace</B>(java.lang.String&nbsp;namespace)</PRE>
491<DL>
492<DD>Set the namespace of the XML element associated with this component.
493 This method is typically called by the XML processor.
494 If the namespace is "ant:current", the component helper
495 is used to get the current antlib uri.
496<P>
497<DD><DL>
498<DT><B>Parameters:</B><DD><CODE>namespace</CODE> - URI used in the xmlns declaration.</DL>
499</DD>
500</DL>
501<HR>
502
503<A NAME="getQName()"><!-- --></A><H3>
504getQName</H3>
505<PRE>
506public java.lang.String <B>getQName</B>()</PRE>
507<DL>
508<DD>Return the qname of the XML element associated with this component.
509<P>
510<DD><DL>
511
512<DT><B>Returns:</B><DD>namespace Qname used in the element declaration.</DL>
513</DD>
514</DL>
515<HR>
516
517<A NAME="setQName(java.lang.String)"><!-- --></A><H3>
518setQName</H3>
519<PRE>
520public void <B>setQName</B>(java.lang.String&nbsp;qname)</PRE>
521<DL>
522<DD>Set the namespace qname of the XML element.
523 This method is typically called by the XML processor.
524<P>
525<DD><DL>
526<DT><B>Parameters:</B><DD><CODE>qname</CODE> - the qualified name of the element</DL>
527</DD>
528</DL>
529<HR>
530
531<A NAME="getWrapper()"><!-- --></A><H3>
532getWrapper</H3>
533<PRE>
534public <A HREF="../../../../org/apache/tools/ant/RuntimeConfigurable.html" title="class in org.apache.tools.ant">RuntimeConfigurable</A> <B>getWrapper</B>()</PRE>
535<DL>
536<DD>Get the RuntimeConfigurable instance for this UnknownElement, containing
537 the configuration information.
538<P>
539<DD><DL>
540<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/tools/ant/Task.html#getWrapper()">getWrapper</A></CODE> in class <CODE><A HREF="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></CODE></DL>
541</DD>
542<DD><DL>
543
544<DT><B>Returns:</B><DD>the configuration info.</DL>
545</DD>
546</DL>
547<HR>
548
549<A NAME="maybeConfigure()"><!-- --></A><H3>
550maybeConfigure</H3>
551<PRE>
552public void <B>maybeConfigure</B>()
553 throws <A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
554<DL>
555<DD>Creates the real object instance and child elements, then configures
556 the attributes and text of the real object. This unknown element
557 is then replaced with the real object in the containing target's list
558 of children.
559<P>
560<DD><DL>
561<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/tools/ant/Task.html#maybeConfigure()">maybeConfigure</A></CODE> in class <CODE><A HREF="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></CODE></DL>
562</DD>
563<DD><DL>
564
565<DT><B>Throws:</B>
566<DD><CODE><A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if the configuration fails</DL>
567</DD>
568</DL>
569<HR>
570
571<A NAME="configure(java.lang.Object)"><!-- --></A><H3>
572configure</H3>
573<PRE>
574public void <B>configure</B>(java.lang.Object&nbsp;realObject)</PRE>
575<DL>
576<DD>Configure the given object from this UnknownElement
577<P>
578<DD><DL>
579<DT><B>Parameters:</B><DD><CODE>realObject</CODE> - the real object this UnknownElement is representing.</DL>
580</DD>
581</DL>
582<HR>
583
584<A NAME="handleOutput(java.lang.String)"><!-- --></A><H3>
585handleOutput</H3>
586<PRE>
587protected void <B>handleOutput</B>(java.lang.String&nbsp;output)</PRE>
588<DL>
589<DD>Handles output sent to System.out by this task or its real task.
590<P>
591<DD><DL>
592<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/tools/ant/Task.html#handleOutput(java.lang.String)">handleOutput</A></CODE> in class <CODE><A HREF="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></CODE></DL>
593</DD>
594<DD><DL>
595<DT><B>Parameters:</B><DD><CODE>output</CODE> - The output to log. Should not be <code>null</code>.</DL>
596</DD>
597</DL>
598<HR>
599
600<A NAME="handleInput(byte[], int, int)"><!-- --></A><H3>
601handleInput</H3>
602<PRE>
603protected int <B>handleInput</B>(byte[]&nbsp;buffer,
604 int&nbsp;offset,
605 int&nbsp;length)
606 throws java.io.IOException</PRE>
607<DL>
608<DD><B>Description copied from class: <CODE><A HREF="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></CODE></B></DD>
609<DD>Handle an input request by this task
610<P>
611<DD><DL>
612<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/tools/ant/Task.html#handleInput(byte[], int, int)">handleInput</A></CODE> in class <CODE><A HREF="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></CODE></DL>
613</DD>
614<DD><DL>
615<DT><B>Parameters:</B><DD><CODE>buffer</CODE> - the buffer into which data is to be read.<DD><CODE>offset</CODE> - the offset into the buffer at which data is stored.<DD><CODE>length</CODE> - the amount of data to read
616<DT><B>Returns:</B><DD>the number of bytes read
617<DT><B>Throws:</B>
618<DD><CODE>java.io.IOException</CODE> - if the data cannot be read<DT><B>Since:</B></DT>
619 <DD>Ant 1.6</DD>
620<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/tools/ant/Task.html#handleInput(byte[], int, int)"><CODE>Task.handleInput(byte[], int, int)</CODE></A></DL>
621</DD>
622</DL>
623<HR>
624
625<A NAME="handleFlush(java.lang.String)"><!-- --></A><H3>
626handleFlush</H3>
627<PRE>
628protected void <B>handleFlush</B>(java.lang.String&nbsp;output)</PRE>
629<DL>
630<DD>Handles output sent to System.out by this task or its real task.
631<P>
632<DD><DL>
633<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/tools/ant/Task.html#handleFlush(java.lang.String)">handleFlush</A></CODE> in class <CODE><A HREF="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></CODE></DL>
634</DD>
635<DD><DL>
636<DT><B>Parameters:</B><DD><CODE>output</CODE> - The output to log. Should not be <code>null</code>.</DL>
637</DD>
638</DL>
639<HR>
640
641<A NAME="handleErrorOutput(java.lang.String)"><!-- --></A><H3>
642handleErrorOutput</H3>
643<PRE>
644protected void <B>handleErrorOutput</B>(java.lang.String&nbsp;output)</PRE>
645<DL>
646<DD>Handles error output sent to System.err by this task or its real task.
647<P>
648<DD><DL>
649<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/tools/ant/Task.html#handleErrorOutput(java.lang.String)">handleErrorOutput</A></CODE> in class <CODE><A HREF="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></CODE></DL>
650</DD>
651<DD><DL>
652<DT><B>Parameters:</B><DD><CODE>output</CODE> - The error output to log. Should not be <code>null</code>.</DL>
653</DD>
654</DL>
655<HR>
656
657<A NAME="handleErrorFlush(java.lang.String)"><!-- --></A><H3>
658handleErrorFlush</H3>
659<PRE>
660protected void <B>handleErrorFlush</B>(java.lang.String&nbsp;output)</PRE>
661<DL>
662<DD>Handles error output sent to System.err by this task or its real task.
663<P>
664<DD><DL>
665<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/tools/ant/Task.html#handleErrorFlush(java.lang.String)">handleErrorFlush</A></CODE> in class <CODE><A HREF="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></CODE></DL>
666</DD>
667<DD><DL>
668<DT><B>Parameters:</B><DD><CODE>output</CODE> - The error output to log. Should not be <code>null</code>.</DL>
669</DD>
670</DL>
671<HR>
672
673<A NAME="execute()"><!-- --></A><H3>
674execute</H3>
675<PRE>
676public void <B>execute</B>()</PRE>
677<DL>
678<DD>Executes the real object if it's a task. If it's not a task
679 (e.g. a data type) then this method does nothing.
680<P>
681<DD><DL>
682<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/tools/ant/Task.html#execute()">execute</A></CODE> in class <CODE><A HREF="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></CODE></DL>
683</DD>
684<DD><DL>
685</DL>
686</DD>
687</DL>
688<HR>
689
690<A NAME="addChild(org.apache.tools.ant.UnknownElement)"><!-- --></A><H3>
691addChild</H3>
692<PRE>
693public void <B>addChild</B>(<A HREF="../../../../org/apache/tools/ant/UnknownElement.html" title="class in org.apache.tools.ant">UnknownElement</A>&nbsp;child)</PRE>
694<DL>
695<DD>Adds a child element to this element.
696<P>
697<DD><DL>
698<DT><B>Parameters:</B><DD><CODE>child</CODE> - The child element to add. Must not be <code>null</code>.</DL>
699</DD>
700</DL>
701<HR>
702
703<A NAME="handleChildren(java.lang.Object, org.apache.tools.ant.RuntimeConfigurable)"><!-- --></A><H3>
704handleChildren</H3>
705<PRE>
706protected void <B>handleChildren</B>(java.lang.Object&nbsp;parent,
707 <A HREF="../../../../org/apache/tools/ant/RuntimeConfigurable.html" title="class in org.apache.tools.ant">RuntimeConfigurable</A>&nbsp;parentWrapper)
708 throws <A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
709<DL>
710<DD>Creates child elements, creates children of the children
711 (recursively), and sets attributes of the child elements.
712<P>
713<DD><DL>
714<DT><B>Parameters:</B><DD><CODE>parent</CODE> - The configured object for the parent.
715 Must not be <code>null</code>.<DD><CODE>parentWrapper</CODE> - The wrapper containing child wrappers
716 to be configured. Must not be <code>null</code>
717 if there are any children.
718<DT><B>Throws:</B>
719<DD><CODE><A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if the children cannot be configured.</DL>
720</DD>
721</DL>
722<HR>
723
724<A NAME="getComponentName()"><!-- --></A><H3>
725getComponentName</H3>
726<PRE>
727protected java.lang.String <B>getComponentName</B>()</PRE>
728<DL>
729<DD><DL>
730
731<DT><B>Returns:</B><DD>the component name - uses ProjectHelper#genComponentName()</DL>
732</DD>
733</DL>
734<HR>
735
736<A NAME="applyPreSet(org.apache.tools.ant.UnknownElement)"><!-- --></A><H3>
737applyPreSet</H3>
738<PRE>
739public void <B>applyPreSet</B>(<A HREF="../../../../org/apache/tools/ant/UnknownElement.html" title="class in org.apache.tools.ant">UnknownElement</A>&nbsp;u)</PRE>
740<DL>
741<DD>This is used then the realobject of the UE is a PreSetDefinition.
742 This is also used when a presetdef is used on a presetdef
743 The attributes, elements and text are applied to this
744 UE.
745<P>
746<DD><DL>
747<DT><B>Parameters:</B><DD><CODE>u</CODE> - an UnknownElement containing the attributes, elements and text</DL>
748</DD>
749</DL>
750<HR>
751
752<A NAME="makeObject(org.apache.tools.ant.UnknownElement, org.apache.tools.ant.RuntimeConfigurable)"><!-- --></A><H3>
753makeObject</H3>
754<PRE>
755protected java.lang.Object <B>makeObject</B>(<A HREF="../../../../org/apache/tools/ant/UnknownElement.html" title="class in org.apache.tools.ant">UnknownElement</A>&nbsp;ue,
756 <A HREF="../../../../org/apache/tools/ant/RuntimeConfigurable.html" title="class in org.apache.tools.ant">RuntimeConfigurable</A>&nbsp;w)</PRE>
757<DL>
758<DD>Creates a named task or data type. If the real object is a task,
759 it is configured up to the init() stage.
760<P>
761<DD><DL>
762<DT><B>Parameters:</B><DD><CODE>ue</CODE> - The unknown element to create the real object for.
763 Must not be <code>null</code>.<DD><CODE>w</CODE> - Ignored in this implementation.
764<DT><B>Returns:</B><DD>the task or data type represented by the given unknown element.</DL>
765</DD>
766</DL>
767<HR>
768
769<A NAME="makeTask(org.apache.tools.ant.UnknownElement, org.apache.tools.ant.RuntimeConfigurable)"><!-- --></A><H3>
770makeTask</H3>
771<PRE>
772protected <A HREF="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A> <B>makeTask</B>(<A HREF="../../../../org/apache/tools/ant/UnknownElement.html" title="class in org.apache.tools.ant">UnknownElement</A>&nbsp;ue,
773 <A HREF="../../../../org/apache/tools/ant/RuntimeConfigurable.html" title="class in org.apache.tools.ant">RuntimeConfigurable</A>&nbsp;w)</PRE>
774<DL>
775<DD>Creates a named task and configures it up to the init() stage.
776<P>
777<DD><DL>
778<DT><B>Parameters:</B><DD><CODE>ue</CODE> - The UnknownElement to create the real task for.
779 Must not be <code>null</code>.<DD><CODE>w</CODE> - Ignored.
780<DT><B>Returns:</B><DD>the task specified by the given unknown element, or
781 <code>null</code> if the task name is not recognised.</DL>
782</DD>
783</DL>
784<HR>
785
786<A NAME="getNotFoundException(java.lang.String, java.lang.String)"><!-- --></A><H3>
787getNotFoundException</H3>
788<PRE>
789protected <A HREF="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A> <B>getNotFoundException</B>(java.lang.String&nbsp;what,
790 java.lang.String&nbsp;elementName)</PRE>
791<DL>
792<DD>Returns a very verbose exception for when a task/data type cannot
793 be found.
794<P>
795<DD><DL>
796<DT><B>Parameters:</B><DD><CODE>what</CODE> - The kind of thing being created. For example, when
797 a task name could not be found, this would be
798 <code>"task"</code>. Should not be <code>null</code>.<DD><CODE>elementName</CODE> - The name of the element which could not be found.
799 Should not be <code>null</code>.
800<DT><B>Returns:</B><DD>a detailed description of what might have caused the problem.</DL>
801</DD>
802</DL>
803<HR>
804
805<A NAME="getTaskName()"><!-- --></A><H3>
806getTaskName</H3>
807<PRE>
808public java.lang.String <B>getTaskName</B>()</PRE>
809<DL>
810<DD>Returns the name to use in logging messages.
811<P>
812<DD><DL>
813<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/apache/tools/ant/Task.html#getTaskName()">getTaskName</A></CODE> in class <CODE><A HREF="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></CODE></DL>
814</DD>
815<DD><DL>
816
817<DT><B>Returns:</B><DD>the name to use in logging messages.</DL>
818</DD>
819</DL>
820<HR>
821
822<A NAME="getTask()"><!-- --></A><H3>
823getTask</H3>
824<PRE>
825public <A HREF="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A> <B>getTask</B>()</PRE>
826<DL>
827<DD>Returns the task instance after it has been created and if it is a task.
828<P>
829<DD><DL>
830
831<DT><B>Returns:</B><DD>a task instance or <code>null</code> if the real object is not
832 a task.</DL>
833</DD>
834</DL>
835<HR>
836
837<A NAME="getRealThing()"><!-- --></A><H3>
838getRealThing</H3>
839<PRE>
840public java.lang.Object <B>getRealThing</B>()</PRE>
841<DL>
842<DD>Return the configured object
843<P>
844<DD><DL>
845
846<DT><B>Returns:</B><DD>the real thing whatever it is<DT><B>Since:</B></DT>
847 <DD>ant 1.6</DD>
848</DL>
849</DD>
850</DL>
851<HR>
852
853<A NAME="similar(java.lang.Object)"><!-- --></A><H3>
854similar</H3>
855<PRE>
856public boolean <B>similar</B>(java.lang.Object&nbsp;obj)</PRE>
857<DL>
858<DD>like contents equals, but ignores project
859<P>
860<DD><DL>
861<DT><B>Parameters:</B><DD><CODE>obj</CODE> - the object to check against
862<DT><B>Returns:</B><DD>true if this unknownelement has the same contents the other</DL>
863</DD>
864</DL>
865<!-- ========= END OF CLASS DATA ========= -->
866<HR>
867
868
869<!-- ======= START OF BOTTOM NAVBAR ====== -->
870<A NAME="navbar_bottom"><!-- --></A>
871<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
872<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
873<TR>
874<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
875<A NAME="navbar_bottom_firstrow"><!-- --></A>
876<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
877 <TR ALIGN="center" VALIGN="top">
878 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
879 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
880 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
881 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
882 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
883 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
884 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
885 </TR>
886</TABLE>
887</TD>
888<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
889</EM>
890</TD>
891</TR>
892
893<TR>
894<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
895&nbsp;<A HREF="../../../../org/apache/tools/ant/TaskAdapter.html" title="class in org.apache.tools.ant"><B>PREV CLASS</B></A>&nbsp;
896&nbsp;<A HREF="../../../../org/apache/tools/ant/XmlLogger.html" title="class in org.apache.tools.ant"><B>NEXT CLASS</B></A></FONT></TD>
897<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
898 <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
899&nbsp;<A HREF="UnknownElement.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
900&nbsp;<SCRIPT type="text/javascript">
901 <!--
902 if(window==top) {
903 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
904 }
905 //-->
906</SCRIPT>
907<NOSCRIPT>
908 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
909</NOSCRIPT>
910
911</FONT></TD>
912</TR>
913<TR>
914<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
915 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.tools.ant.Task">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
916<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
917DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
918</TR>
919</TABLE>
920<A NAME="skip-navbar_bottom"></A>
921<!-- ======== END OF BOTTOM NAVBAR ======= -->
922
923<HR>
924Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
925</BODY>
926</HTML>
Note: See TracBrowser for help on using the repository browser.