DynamicAttribute (Apache Ant API)

Package 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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | 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