org.apache.tools.ant

Interface DynamicElement

Known Subinterfaces:
DynamicConfigurator
Known Implementing Classes:
And, ConditionBase, ConditionTask, Not, Or, ScriptDefBase, WaitFor, Xor, XSLTProcess.Factory.Attribute

public interface DynamicElement

Enables a task to control unknown elements.
Since:
Ant 1.5

Method Summary

Object
createDynamicElement(String name)
Create an element with the given name

Method Details

createDynamicElement

public Object createDynamicElement(String name)
            throws BuildException
Create an element with the given name
Parameters:
name - the element nbame
Returns:
the element created
Throws:
BuildException - when any error occurs