Top Description Methods
org.apache.tools.ant

public Interface DynamicElementNS

Known Direct Subinterfaces
org.apache.tools.ant.DynamicConfiguratorNS
Known Direct Implementers
org.apache.tools.ant.util.XMLFragment

Enables a task to control unknown elements.
Since
Ant 1.7

Method Summary

Modifier and TypeMethod and Description
public Object

Returns:

the element created for this element.
createDynamicElement
(String
The namespace uri for this attribute.
uri
,
String
The localname of this attribute.
localName
,
String
The qualified name for this element.
qName
)

Create an element with the given name

Method Detail

createDynamicElementback to summary
public Object createDynamicElement(String uri, String localName, String qName) throws BuildException

Create an element with the given name

Parameters
uri:String

The namespace uri for this attribute.

localName:String

The localname of this attribute.

qName:String

The qualified name for this element.

Returns:Object

the element created for this element.

Exceptions
BuildException:
when any error occurs