DynamicElementNS (Apache Ant API)
Description: declaration: package: org.apache.tools.ant, interface: DynamicElementNS

# Interface DynamicElementNS

All Known Subinterfaces:
  `DynamicConfiguratorNS`

All Known Implementing Classes:
  `EchoXML, XMLFragment, XMLFragment.Child`

public interface DynamicElementNS
Enables a task to control unknown elements.

Since:
  Ant 1.7

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Object`
  `createDynamicElement(String uri, String localName, String qName)`
  Create an element with the given name

- ## Method Details

  - ### createDynamicElement

    Object createDynamicElement(String uri, String localName, String qName) throws BuildException
    Create an element with the given name
    Parameters:
      `uri` - The namespace uri for this attribute.
      `localName` - The localname of this attribute.
      `qName` - The qualified name for this element.
    Returns:
      the element created for this element.
    Throws:
      `BuildException` - when any error occurs