DynamicAttribute (Apache Ant API)
Date: 2015-06-29

org.apache.tools.ant

## Interface DynamicAttribute

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

      public interface DynamicAttribute

  Enables a task to control unknown attributes
  Since:
    Ant 1.5

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `setDynamicAttribute(java.lang.String name, java.lang.String value)` Set a named attribute to the given value

- - ### Method Detail

    - #### setDynamicAttribute

          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 attribute
        `value` - the new value of the attribute
      Throws:
        `BuildException` - when any error occurs