org.apache.tools.ant.util
Class XMLFragment.Child
java.lang.Object
org.apache.tools.ant.util.XMLFragment.Child
- XMLFragment
- DynamicAttributeNS, DynamicConfiguratorNS, DynamicElementNS
public class XMLFragment.Child
extends java.lang.Object
An object to handle (recursively) nested elements.
addText
public void addText(String s)
Add nested text.
createDynamicElement
public Object createDynamicElement(String uri,
String name,
String qName)
Creates a nested element.
- createDynamicElement in interface DynamicElementNS
uri
- the uri of the nested elementname
- the localname of the nested elementqName
- the qualified name of the nested element
- an object that the element is applied to
setDynamicAttribute
public void setDynamicAttribute(String uri,
String name,
String qName,
String value)
Sets the attribute
- setDynamicAttribute in interface DynamicAttributeNS
uri
- the uri of the attributename
- the localname of the attributeqName
- the qualified name of the attributevalue
- the value of the attribute