org.apache.tools.ant

Interface DynamicAttribute

Known Subinterfaces:
DynamicConfigurator
Known Implementing Classes:
MacroInstance, ScriptDefBase, XSLTProcess.Factory.Attribute

public interface DynamicAttribute

Enables a task to control unknown attributes
Since:
Ant 1.5

Method Summary

void
setDynamicAttribute(String name, String value)
Set a named attribute to the given value

Method Details

setDynamicAttribute

public void setDynamicAttribute(String name,
                                String value)
            throws BuildException
Set a named attribute to the given value
Parameters:
name - the name of the attribute
value - the new value of the attribute
Throws:
BuildException - when any error occurs

Copyright B) 2000-2006 Apache Software Foundation. All Rights Reserved.