????
| Current Path : /opt/ant/manual/api/org/apache/tools/ant/ |
| Current File : //opt/ant/manual/api/org/apache/tools/ant/UnknownElement.html |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_03) on Tue May 22 06:24:51 CEST 2012 -->
<title>UnknownElement (Apache Ant API)</title>
<meta name="date" content="2012-05-22">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="UnknownElement (Apache Ant API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/tools/ant/TypeAdapter.html" title="interface in org.apache.tools.ant"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/apache/tools/ant/UnsupportedAttributeException.html" title="class in org.apache.tools.ant"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/tools/ant/UnknownElement.html" target="_top">Frames</a></li>
<li><a href="UnknownElement.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li>Nested | </li>
<li><a href="#fields_inherited_from_class_org.apache.tools.ant.Task">Field</a> | </li>
<li><a href="#constructor_summary">Constr</a> | </li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li>Field | </li>
<li><a href="#constructor_detail">Constr</a> | </li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.tools.ant</div>
<h2 title="Class UnknownElement" class="title">Class UnknownElement</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li><a href="../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">org.apache.tools.ant.ProjectComponent</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">org.apache.tools.ant.Task</a></li>
<li>
<ul class="inheritance">
<li>org.apache.tools.ant.UnknownElement</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>java.lang.Cloneable</dd>
</dl>
<hr>
<br>
<pre>public class <span class="strong">UnknownElement</span>
extends <a href="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</a></pre>
<div class="block">Wrapper class that holds all the information necessary to create a task
or data type that did not exist when Ant started, or one which
has had its definition updated to use a different implementation class.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_org.apache.tools.ant.Task">
<!-- -->
</a>
<h3>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></h3>
<code><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></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_org.apache.tools.ant.ProjectComponent">
<!-- -->
</a>
<h3>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></h3>
<code><a href="../../../../org/apache/tools/ant/ProjectComponent.html#description">description</a>, <a href="../../../../org/apache/tools/ant/ProjectComponent.html#location">location</a>, <a href="../../../../org/apache/tools/ant/ProjectComponent.html#project">project</a></code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../org/apache/tools/ant/UnknownElement.html#UnknownElement(java.lang.String)">UnknownElement</a></strong>(java.lang.String elementName)</code>
<div class="block">Creates an UnknownElement for the given element name.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/ant/UnknownElement.html#addChild(org.apache.tools.ant.UnknownElement)">addChild</a></strong>(<a href="../../../../org/apache/tools/ant/UnknownElement.html" title="class in org.apache.tools.ant">UnknownElement</a> child)</code>
<div class="block">Adds a child element to this element.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/ant/UnknownElement.html#applyPreSet(org.apache.tools.ant.UnknownElement)">applyPreSet</a></strong>(<a href="../../../../org/apache/tools/ant/UnknownElement.html" title="class in org.apache.tools.ant">UnknownElement</a> u)</code>
<div class="block">This is used then the realobject of the UE is a PreSetDefinition.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/ant/UnknownElement.html#configure(java.lang.Object)">configure</a></strong>(java.lang.Object realObject)</code>
<div class="block">Configure the given object from this UnknownElement</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../../org/apache/tools/ant/UnknownElement.html" title="class in org.apache.tools.ant">UnknownElement</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/ant/UnknownElement.html#copy(org.apache.tools.ant.Project)">copy</a></strong>(<a href="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</a> newProject)</code>
<div class="block">Make a copy of the unknown element and set it in the new project.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/ant/UnknownElement.html#execute()">execute</a></strong>()</code>
<div class="block">Executes the real object if it's a task.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.util.List</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/ant/UnknownElement.html#getChildren()">getChildren</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/ant/UnknownElement.html#getComponentName()">getComponentName</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/ant/UnknownElement.html#getNamespace()">getNamespace</a></strong>()</code>
<div class="block">Return the namespace of the XML element associated with this component.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/ant/UnknownElement.html#getNotFoundException(java.lang.String, java.lang.String)">getNotFoundException</a></strong>(java.lang.String what,
java.lang.String name)</code>
<div class="block">Returns a very verbose exception for when a task/data type cannot
be found.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/ant/UnknownElement.html#getQName()">getQName</a></strong>()</code>
<div class="block">Return the qname of the XML element associated with this component.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.Object</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/ant/UnknownElement.html#getRealThing()">getRealThing</a></strong>()</code>
<div class="block">Return the configured object</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/ant/UnknownElement.html#getTag()">getTag</a></strong>()</code>
<div class="block">Returns the name of the XML element which generated this unknown
element.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/ant/UnknownElement.html#getTask()">getTask</a></strong>()</code>
<div class="block">Returns the task instance after it has been created and if it is a task.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/ant/UnknownElement.html#getTaskName()">getTaskName</a></strong>()</code>
<div class="block">Returns the name to use in logging messages.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../org/apache/tools/ant/RuntimeConfigurable.html" title="class in org.apache.tools.ant">RuntimeConfigurable</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/ant/UnknownElement.html#getWrapper()">getWrapper</a></strong>()</code>
<div class="block">Get the RuntimeConfigurable instance for this UnknownElement, containing
the configuration information.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/ant/UnknownElement.html#handleChildren(java.lang.Object, org.apache.tools.ant.RuntimeConfigurable)">handleChildren</a></strong>(java.lang.Object parent,
<a href="../../../../org/apache/tools/ant/RuntimeConfigurable.html" title="class in org.apache.tools.ant">RuntimeConfigurable</a> parentWrapper)</code>
<div class="block">Creates child elements, creates children of the children
(recursively), and sets attributes of the child elements.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/ant/UnknownElement.html#handleErrorFlush(java.lang.String)">handleErrorFlush</a></strong>(java.lang.String output)</code>
<div class="block">Handles error output sent to System.err by this task or its real task.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/ant/UnknownElement.html#handleErrorOutput(java.lang.String)">handleErrorOutput</a></strong>(java.lang.String output)</code>
<div class="block">Handles error output sent to System.err by this task or its real task.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/ant/UnknownElement.html#handleFlush(java.lang.String)">handleFlush</a></strong>(java.lang.String output)</code>
<div class="block">Handles output sent to System.out by this task or its real task.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/ant/UnknownElement.html#handleInput(byte[], int, int)">handleInput</a></strong>(byte[] buffer,
int offset,
int length)</code>
<div class="block">Delegate to realThing if present and if it as task.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/ant/UnknownElement.html#handleOutput(java.lang.String)">handleOutput</a></strong>(java.lang.String output)</code>
<div class="block">Handles output sent to System.out by this task or its real task.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected java.lang.Object</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/ant/UnknownElement.html#makeObject(org.apache.tools.ant.UnknownElement, org.apache.tools.ant.RuntimeConfigurable)">makeObject</a></strong>(<a href="../../../../org/apache/tools/ant/UnknownElement.html" title="class in org.apache.tools.ant">UnknownElement</a> ue,
<a href="../../../../org/apache/tools/ant/RuntimeConfigurable.html" title="class in org.apache.tools.ant">RuntimeConfigurable</a> w)</code>
<div class="block">Creates a named task or data type.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/ant/UnknownElement.html#makeTask(org.apache.tools.ant.UnknownElement, org.apache.tools.ant.RuntimeConfigurable)">makeTask</a></strong>(<a href="../../../../org/apache/tools/ant/UnknownElement.html" title="class in org.apache.tools.ant">UnknownElement</a> ue,
<a href="../../../../org/apache/tools/ant/RuntimeConfigurable.html" title="class in org.apache.tools.ant">RuntimeConfigurable</a> w)</code>
<div class="block">Creates a named task and configures it up to the init() stage.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/ant/UnknownElement.html#maybeConfigure()">maybeConfigure</a></strong>()</code>
<div class="block">Creates the real object instance and child elements, then configures
the attributes and text of the real object.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/ant/UnknownElement.html#setNamespace(java.lang.String)">setNamespace</a></strong>(java.lang.String namespace)</code>
<div class="block">Set the namespace of the XML element associated with this component.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/ant/UnknownElement.html#setQName(java.lang.String)">setQName</a></strong>(java.lang.String qname)</code>
<div class="block">Set the namespace qname of the XML element.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/ant/UnknownElement.html#setRealThing(java.lang.Object)">setRealThing</a></strong>(java.lang.Object realThing)</code>
<div class="block">Set the configured object</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/tools/ant/UnknownElement.html#similar(java.lang.Object)">similar</a></strong>(java.lang.Object obj)</code>
<div class="block">like contents equals, but ignores project</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.apache.tools.ant.Task">
<!-- -->
</a>
<h3>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></h3>
<code><a href="../../../../org/apache/tools/ant/Task.html#bindToOwner(org.apache.tools.ant.Task)">bindToOwner</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#log(java.lang.String, java.lang.Throwable, int)">log</a>, <a href="../../../../org/apache/tools/ant/Task.html#log(java.lang.Throwable, 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#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></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_org.apache.tools.ant.ProjectComponent">
<!-- -->
</a>
<h3>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></h3>
<code><a href="../../../../org/apache/tools/ant/ProjectComponent.html#clone()">clone</a>, <a href="../../../../org/apache/tools/ant/ProjectComponent.html#getDescription()">getDescription</a>, <a href="../../../../org/apache/tools/ant/ProjectComponent.html#getLocation()">getLocation</a>, <a href="../../../../org/apache/tools/ant/ProjectComponent.html#getProject()">getProject</a>, <a href="../../../../org/apache/tools/ant/ProjectComponent.html#setDescription(java.lang.String)">setDescription</a>, <a href="../../../../org/apache/tools/ant/ProjectComponent.html#setLocation(org.apache.tools.ant.Location)">setLocation</a>, <a href="../../../../org/apache/tools/ant/ProjectComponent.html#setProject(org.apache.tools.ant.Project)">setProject</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class java.lang.Object</h3>
<code>equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="UnknownElement(java.lang.String)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>UnknownElement</h4>
<pre>public UnknownElement(java.lang.String elementName)</pre>
<div class="block">Creates an UnknownElement for the given element name.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>elementName</code> - The name of the unknown element.
Must not be <code>null</code>.</dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getChildren()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getChildren</h4>
<pre>public java.util.List getChildren()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>the list of nested UnknownElements for this UnknownElement.</dd></dl>
</li>
</ul>
<a name="getTag()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTag</h4>
<pre>public java.lang.String getTag()</pre>
<div class="block">Returns the name of the XML element which generated this unknown
element.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the name of the XML element which generated this unknown
element.</dd></dl>
</li>
</ul>
<a name="getNamespace()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNamespace</h4>
<pre>public java.lang.String getNamespace()</pre>
<div class="block">Return the namespace of the XML element associated with this component.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>Namespace URI used in the xmlns declaration.</dd></dl>
</li>
</ul>
<a name="setNamespace(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setNamespace</h4>
<pre>public void setNamespace(java.lang.String namespace)</pre>
<div class="block">Set the namespace of the XML element associated with this component.
This method is typically called by the XML processor.
If the namespace is "ant:current", the component helper
is used to get the current antlib uri.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>namespace</code> - URI used in the xmlns declaration.</dd></dl>
</li>
</ul>
<a name="getQName()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getQName</h4>
<pre>public java.lang.String getQName()</pre>
<div class="block">Return the qname of the XML element associated with this component.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>namespace Qname used in the element declaration.</dd></dl>
</li>
</ul>
<a name="setQName(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setQName</h4>
<pre>public void setQName(java.lang.String qname)</pre>
<div class="block">Set the namespace qname of the XML element.
This method is typically called by the XML processor.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>qname</code> - the qualified name of the element</dd></dl>
</li>
</ul>
<a name="getWrapper()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWrapper</h4>
<pre>public <a href="../../../../org/apache/tools/ant/RuntimeConfigurable.html" title="class in org.apache.tools.ant">RuntimeConfigurable</a> getWrapper()</pre>
<div class="block">Get the RuntimeConfigurable instance for this UnknownElement, containing
the configuration information.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<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></dd>
<dt><span class="strong">Returns:</span></dt><dd>the configuration info.</dd></dl>
</li>
</ul>
<a name="maybeConfigure()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>maybeConfigure</h4>
<pre>public void maybeConfigure()
throws <a href="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</a></pre>
<div class="block">Creates the real object instance and child elements, then configures
the attributes and text of the real object. This unknown element
is then replaced with the real object in the containing target's list
of children.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<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></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</a></code> - if the configuration fails</dd></dl>
</li>
</ul>
<a name="configure(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>configure</h4>
<pre>public void configure(java.lang.Object realObject)</pre>
<div class="block">Configure the given object from this UnknownElement</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>realObject</code> - the real object this UnknownElement is representing.</dd></dl>
</li>
</ul>
<a name="handleOutput(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>handleOutput</h4>
<pre>protected void handleOutput(java.lang.String output)</pre>
<div class="block">Handles output sent to System.out by this task or its real task.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<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></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>output</code> - The output to log. Should not be <code>null</code>.</dd></dl>
</li>
</ul>
<a name="handleInput(byte[], int, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>handleInput</h4>
<pre>protected int handleInput(byte[] buffer,
int offset,
int length)
throws java.io.IOException</pre>
<div class="block">Delegate to realThing if present and if it as task.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<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></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>buffer</code> - the buffer into which data is to be read.</dd><dd><code>offset</code> - the offset into the buffer at which data is stored.</dd><dd><code>length</code> - the amount of data to read.</dd>
<dt><span class="strong">Returns:</span></dt><dd>the number of bytes read.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code> - if the data cannot be read.</dd><dt><span class="strong">Since:</span></dt>
<dd>Ant 1.6</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/tools/ant/Task.html#handleInput(byte[], int, int)"><code>Task.handleInput(byte[], int, int)</code></a></dd></dl>
</li>
</ul>
<a name="handleFlush(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>handleFlush</h4>
<pre>protected void handleFlush(java.lang.String output)</pre>
<div class="block">Handles output sent to System.out by this task or its real task.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<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></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>output</code> - The output to log. Should not be <code>null</code>.</dd></dl>
</li>
</ul>
<a name="handleErrorOutput(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>handleErrorOutput</h4>
<pre>protected void handleErrorOutput(java.lang.String output)</pre>
<div class="block">Handles error output sent to System.err by this task or its real task.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<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></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>output</code> - The error output to log. Should not be <code>null</code>.</dd></dl>
</li>
</ul>
<a name="handleErrorFlush(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>handleErrorFlush</h4>
<pre>protected void handleErrorFlush(java.lang.String output)</pre>
<div class="block">Handles error output sent to System.err by this task or its real task.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<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></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>output</code> - The error output to log. Should not be <code>null</code>.</dd></dl>
</li>
</ul>
<a name="execute()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>execute</h4>
<pre>public void execute()</pre>
<div class="block">Executes the real object if it's a task. If it's not a task
(e.g. a data type) then this method does nothing.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<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></dd>
</dl>
</li>
</ul>
<a name="addChild(org.apache.tools.ant.UnknownElement)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addChild</h4>
<pre>public void addChild(<a href="../../../../org/apache/tools/ant/UnknownElement.html" title="class in org.apache.tools.ant">UnknownElement</a> child)</pre>
<div class="block">Adds a child element to this element.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>child</code> - The child element to add. Must not be <code>null</code>.</dd></dl>
</li>
</ul>
<a name="handleChildren(java.lang.Object, org.apache.tools.ant.RuntimeConfigurable)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>handleChildren</h4>
<pre>protected void handleChildren(java.lang.Object parent,
<a href="../../../../org/apache/tools/ant/RuntimeConfigurable.html" title="class in org.apache.tools.ant">RuntimeConfigurable</a> parentWrapper)
throws <a href="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</a></pre>
<div class="block">Creates child elements, creates children of the children
(recursively), and sets attributes of the child elements.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>parent</code> - The configured object for the parent.
Must not be <code>null</code>.</dd><dd><code>parentWrapper</code> - The wrapper containing child wrappers
to be configured. Must not be <code>null</code>
if there are any children.</dd>
<dt><span class="strong">Throws:</span></dt>
<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.</dd></dl>
</li>
</ul>
<a name="getComponentName()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getComponentName</h4>
<pre>protected java.lang.String getComponentName()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>the component name - uses ProjectHelper#genComponentName()</dd></dl>
</li>
</ul>
<a name="applyPreSet(org.apache.tools.ant.UnknownElement)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>applyPreSet</h4>
<pre>public void applyPreSet(<a href="../../../../org/apache/tools/ant/UnknownElement.html" title="class in org.apache.tools.ant">UnknownElement</a> u)</pre>
<div class="block">This is used then the realobject of the UE is a PreSetDefinition.
This is also used when a presetdef is used on a presetdef
The attributes, elements and text are applied to this
UE.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>u</code> - an UnknownElement containing the attributes, elements and text</dd></dl>
</li>
</ul>
<a name="makeObject(org.apache.tools.ant.UnknownElement, org.apache.tools.ant.RuntimeConfigurable)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>makeObject</h4>
<pre>protected java.lang.Object makeObject(<a href="../../../../org/apache/tools/ant/UnknownElement.html" title="class in org.apache.tools.ant">UnknownElement</a> ue,
<a href="../../../../org/apache/tools/ant/RuntimeConfigurable.html" title="class in org.apache.tools.ant">RuntimeConfigurable</a> w)</pre>
<div class="block">Creates a named task or data type. If the real object is a task,
it is configured up to the init() stage.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>ue</code> - The unknown element to create the real object for.
Must not be <code>null</code>.</dd><dd><code>w</code> - Ignored in this implementation.</dd>
<dt><span class="strong">Returns:</span></dt><dd>the task or data type represented by the given unknown element.</dd></dl>
</li>
</ul>
<a name="makeTask(org.apache.tools.ant.UnknownElement, org.apache.tools.ant.RuntimeConfigurable)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>makeTask</h4>
<pre>protected <a href="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</a> makeTask(<a href="../../../../org/apache/tools/ant/UnknownElement.html" title="class in org.apache.tools.ant">UnknownElement</a> ue,
<a href="../../../../org/apache/tools/ant/RuntimeConfigurable.html" title="class in org.apache.tools.ant">RuntimeConfigurable</a> w)</pre>
<div class="block">Creates a named task and configures it up to the init() stage.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>ue</code> - The UnknownElement to create the real task for.
Must not be <code>null</code>.</dd><dd><code>w</code> - Ignored.</dd>
<dt><span class="strong">Returns:</span></dt><dd>the task specified by the given unknown element, or
<code>null</code> if the task name is not recognised.</dd></dl>
</li>
</ul>
<a name="getNotFoundException(java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNotFoundException</h4>
<pre>protected <a href="../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</a> getNotFoundException(java.lang.String what,
java.lang.String name)</pre>
<div class="block">Returns a very verbose exception for when a task/data type cannot
be found.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>what</code> - The kind of thing being created. For example, when
a task name could not be found, this would be
<code>"task"</code>. Should not be <code>null</code>.</dd><dd><code>name</code> - The name of the element which could not be found.
Should not be <code>null</code>.</dd>
<dt><span class="strong">Returns:</span></dt><dd>a detailed description of what might have caused the problem.</dd></dl>
</li>
</ul>
<a name="getTaskName()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTaskName</h4>
<pre>public java.lang.String getTaskName()</pre>
<div class="block">Returns the name to use in logging messages.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<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></dd>
<dt><span class="strong">Returns:</span></dt><dd>the name to use in logging messages.</dd></dl>
</li>
</ul>
<a name="getTask()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTask</h4>
<pre>public <a href="../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</a> getTask()</pre>
<div class="block">Returns the task instance after it has been created and if it is a task.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>a task instance or <code>null</code> if the real object is not
a task.</dd></dl>
</li>
</ul>
<a name="getRealThing()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRealThing</h4>
<pre>public java.lang.Object getRealThing()</pre>
<div class="block">Return the configured object</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the real thing whatever it is</dd><dt><span class="strong">Since:</span></dt>
<dd>ant 1.6</dd></dl>
</li>
</ul>
<a name="setRealThing(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRealThing</h4>
<pre>public void setRealThing(java.lang.Object realThing)</pre>
<div class="block">Set the configured object</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>realThing</code> - the configured object</dd><dt><span class="strong">Since:</span></dt>
<dd>ant 1.7</dd></dl>
</li>
</ul>
<a name="similar(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>similar</h4>
<pre>public boolean similar(java.lang.Object obj)</pre>
<div class="block">like contents equals, but ignores project</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>obj</code> - the object to check against</dd>
<dt><span class="strong">Returns:</span></dt><dd>true if this unknownelement has the same contents the other</dd></dl>
</li>
</ul>
<a name="copy(org.apache.tools.ant.Project)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>copy</h4>
<pre>public <a href="../../../../org/apache/tools/ant/UnknownElement.html" title="class in org.apache.tools.ant">UnknownElement</a> copy(<a href="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</a> newProject)</pre>
<div class="block">Make a copy of the unknown element and set it in the new project.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>newProject</code> - the project to create the UE in.</dd>
<dt><span class="strong">Returns:</span></dt><dd>the copied UE.</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/tools/ant/TypeAdapter.html" title="interface in org.apache.tools.ant"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/apache/tools/ant/UnsupportedAttributeException.html" title="class in org.apache.tools.ant"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/tools/ant/UnknownElement.html" target="_top">Frames</a></li>
<li><a href="UnknownElement.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li>Nested | </li>
<li><a href="#fields_inherited_from_class_org.apache.tools.ant.Task">Field</a> | </li>
<li><a href="#constructor_summary">Constr</a> | </li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li>Field | </li>
<li><a href="#constructor_detail">Constr</a> | </li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>