| groovy.util.BuilderSupport groovy.util.AntBuilder
AntBuilder | public class AntBuilder extends BuilderSupport (Code) | | Allows Ant tasks to be used with GroovyMarkup
author: James Strachan, changes by Dierk Koenig (dk) version: $Revision: 4077 $ |
Method Summary | |
protected static Attributes | buildAttributes(Map attributes) | protected Object | createNode(Object tagName) | protected Object | createNode(Object name, Object value) | protected Object | createNode(Object name, Map attributes, Object value) | protected Object | createNode(Object name, Map attributes) | protected static Project | createProject() | protected Object | doInvokeMethod(String methodName, Object name, Object args) | public Project | getAntProject() | protected Project | getProject() | protected void | nodeCompleted(Object parent, Object node) Determines, when the ANT Task that is represented by the "node" should perform. | protected void | setParent(Object parent, Object child) | protected void | setText(Object task, String text) |
AntBuilder | public AntBuilder()(Code) | | |
AntBuilder | public AntBuilder(Project project)(Code) | | |
AntBuilder | public AntBuilder(Project project, Target owningTarget)(Code) | | |
createProject | protected static Project createProject()(Code) | | Factory method to create new Project instances |
getAntProject | public Project getAntProject()(Code) | | |
getProject | protected Project getProject()(Code) | | |
nodeCompleted | protected void nodeCompleted(Object parent, Object node)(Code) | | Determines, when the ANT Task that is represented by the "node" should perform.
Node must be an ANT Task or no "perform" is called.
If node is an ANT Task, it performs right after complete contstruction.
If node is nested in a TaskContainer, calling "perform" is delegated to that
TaskContainer.
Parameters: parent - note: null when node is root Parameters: node - the node that now has all its children applied |
Methods inherited from groovy.util.BuilderSupport | abstract protected Object createNode(Object name)(Code)(Java Doc) abstract protected Object createNode(Object name, Object value)(Code)(Java Doc) abstract protected Object createNode(Object name, Map attributes)(Code)(Java Doc) abstract protected Object createNode(Object name, Map attributes, Object value)(Code)(Java Doc) protected Object doInvokeMethod(String methodName, Object name, Object args)(Code)(Java Doc) protected Object getCurrent()(Code)(Java Doc) protected Object getName(String methodName)(Code)(Java Doc) public Object invokeMethod(String methodName)(Code)(Java Doc) public Object invokeMethod(String methodName, Object args)(Code)(Java Doc) protected void nodeCompleted(Object parent, Object node)(Code)(Java Doc) protected void setClosureDelegate(Closure closure, Object node)(Code)(Java Doc) protected void setCurrent(Object current)(Code)(Java Doc) abstract protected void setParent(Object parent, Object child)(Code)(Java Doc)
|
|
|