
|
DynamicConfigurator (Apache Ant API)
org.apache.tools.ant
Interface DynamicConfigurator
- public interface DynamicConfigurator
Enables a task to control unknown attributes and elements.
- Since:
- Ant 1.5
- Author:
- Erik Hatcher
Method Summary |
java.lang.Object |
createDynamicElement(java.lang.String name)
Create an element with the given name |
void |
setDynamicAttribute(java.lang.String name,
java.lang.String value)
Set a named attribute to the given value |
setDynamicAttribute
public void setDynamicAttribute(java.lang.String name,
java.lang.String value)
throws BuildException
- Set a named attribute to the given value
- Parameters:
name - the name of the attributevalue - the new value of the attribute
- Throws:
BuildException - when any error occurs
createDynamicElement
public 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
Copyright © 2000-2002 Apache Software Foundation. All Rights Reserved.
|