Package org.apache.tools.ant
Interface DynamicAttributeNS
- All Known Subinterfaces:
DynamicConfiguratorNS
- All Known Implementing Classes:
XMLFragment.Child
public interface DynamicAttributeNS
Enables a task to control unknown attributes.
- Since:
- Ant 1.7
-
Method Summary
Modifier and Type Method Description void
setDynamicAttribute(java.lang.String uri, java.lang.String localName, java.lang.String qName, java.lang.String value)
Set a named attribute to the given value
-
Method Details
-
setDynamicAttribute
void setDynamicAttribute(java.lang.String uri, java.lang.String localName, java.lang.String qName, java.lang.String value) throws BuildExceptionSet a named attribute to the given value- Parameters:
uri
- The namespace uri for this attribute, "" is used if there is no namespace uri.localName
- The localname of this attribute.qName
- The qualified name for this attributevalue
- The value of this attribute.- Throws:
BuildException
- when any error occurs
-