| java.lang.Object org.apache.tools.ant.module.spi.TaskStructure
TaskStructure | final public class TaskStructure (Code) | | Describes the structure of a task.
Each instance corresponds to one task or nested element in a build script.
author: Jesse Glick since: org.apache.tools.ant.module/3 3.12 |
getAttribute | public String getAttribute(String name)(Code) | | Get a single attribute.
It will be unevaluated as configured in the script.
If you wish to find the actual runtime value, you may
use
AntEvent.evaluate .
Parameters: name - the attribute name the raw value of that attribute, or null |
getChildren | public TaskStructure[] getChildren()(Code) | | Get any configured child elements.
a list of child structure elements; may be empty but not null |
getName | public String getName()(Code) | | Get the element name.
XXX precise behavior w.r.t. namespaces etc.
a name, never null |
getText | public String getText()(Code) | | Get configured nested text.
It will be unevaluated as configured in the script.
If you wish to find the actual runtime value, you may
use
AntEvent.evaluate .
the raw text contained in the element, or null |
|
|