org.apache.tools.ant

Interface DynamicElementNS

Known Subinterfaces:
DynamicConfiguratorNS

public interface DynamicElementNS

Enables a task to control unknown elements.
Since:
Ant 1.7

Method Summary

Object
createDynamicElement(String uri, String localName, String qName)
Create an element with the given name

Method Details

createDynamicElement

public 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

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