org.apache.tools.ant
Interface DynamicElement

All Known Subinterfaces:
DynamicConfigurator
All 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
 java.lang.Object createDynamicElement(java.lang.String name)
          Create an element with the given name
 

Method Detail

createDynamicElement

java.lang.Object createDynamicElement(java.lang.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