Save This Page
Home » apache-ant-1.7.1-src » org.apache.tools » ant » taskdefs » [javadoc | source]
org.apache.tools.ant.taskdefs
public class: MacroDef [javadoc | source]
java.lang.Object
   org.apache.tools.ant.ProjectComponent
      org.apache.tools.ant.Task
         org.apache.tools.ant.taskdefs.AntlibDefinition
            org.apache.tools.ant.taskdefs.MacroDef

All Implemented Interfaces:
    Cloneable

Describe class MacroDef here.
Nested Class Summary:
public static class  MacroDef.NestedSequential  The class corresponding to the sequential nested element. This is a simple task container. 
public static class  MacroDef.Attribute  An attribute for the MacroDef task. 
public static class  MacroDef.Text  A nested text element for the MacroDef task. 
public static class  MacroDef.TemplateElement  A nested element for the MacroDef task. 
Fields inherited from org.apache.tools.ant.Task:
target,  taskName,  taskType,  wrapper
Fields inherited from org.apache.tools.ant.ProjectComponent:
project,  location,  description
Method from org.apache.tools.ant.taskdefs.MacroDef Summary:
addConfiguredAttribute,   addConfiguredElement,   addConfiguredText,   createSequential,   execute,   getAttributes,   getBackTrace,   getElements,   getNestedTask,   getText,   isValidNameCharacter,   sameDefinition,   setBackTrace,   setName,   similar
Methods from org.apache.tools.ant.taskdefs.AntlibDefinition:
getAntlibClassLoader,   getURI,   setAntlibClassLoader,   setURI
Methods from org.apache.tools.ant.Task:
bindToOwner,   execute,   getOwningTarget,   getRuntimeConfigurableWrapper,   getTaskName,   getTaskType,   getWrapper,   handleErrorFlush,   handleErrorOutput,   handleFlush,   handleInput,   handleOutput,   init,   isInvalid,   log,   log,   log,   log,   markInvalid,   maybeConfigure,   perform,   reconfigure,   setOwningTarget,   setRuntimeConfigurableWrapper,   setTaskName,   setTaskType
Methods from org.apache.tools.ant.ProjectComponent:
clone,   getDescription,   getLocation,   getProject,   log,   log,   setDescription,   setLocation,   setProject
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.tools.ant.taskdefs.MacroDef Detail:
 public  void addConfiguredAttribute(MacroDef.Attribute attribute) 
    Add an attribute element.
 public  void addConfiguredElement(MacroDef.TemplateElement element) 
    Add an element element.
 public  void addConfiguredText(MacroDef.Text text) 
    Add the text element.
 public MacroDef.NestedSequential createSequential() 
    This is the sequential nested element of the macrodef.
 public  void execute() 
    Create a new ant type based on the embedded tasks and types.
 public List getAttributes() 
    Gets this macro's attribute (and define?) list.
 public boolean getBackTrace() 
 public Map getElements() 
    Gets this macro's elements.
 public UnknownElement getNestedTask() 
    Convert the nested sequential to an unknown element
 public MacroDef.Text getText() 
 public static boolean isValidNameCharacter(char c) 
    Check if a character is a valid character for an element or attribute name.
 public boolean sameDefinition(Object obj) 
    Equality method for this definition
 public  void setBackTrace(boolean backTrace) 
    Set the backTrace attribute.
 public  void setName(String name) 
    Name of the definition
 public boolean similar(Object obj) 
    Similar method for this definition