Package org.apache.tools.ant.taskdefs
Class MacroInstance.Element
java.lang.Object
org.apache.tools.ant.taskdefs.MacroInstance.Element
- All Implemented Interfaces:
TaskContainer
- Enclosing class:
- MacroInstance
public static class MacroInstance.Element extends java.lang.Object implements TaskContainer
Embedded element in macro instance
-
Constructor Summary
Constructors Constructor Description Element()
-
Method Summary
Modifier and Type Method Description void
addTask(Task nestedTask)
Add an unknown element (to be snipped into the macroDef instance)java.util.List<Task>
getUnknownElements()
-
Constructor Details
-
Element
public Element()
-
-
Method Details
-
addTask
Add an unknown element (to be snipped into the macroDef instance)- Specified by:
addTask
in interfaceTaskContainer
- Parameters:
nestedTask
- an unknown element
-
getUnknownElements
- Returns:
- the list of unknown elements
-