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

    Modifier and Type Method Description
    void setDynamicAttribute​(java.lang.String name, java.lang.String value)
    Set a named attribute to the given value
  • Method Details

    • 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