org.apache.tools.ant.taskdefs

Class MacroDef.NestedSequential

public static class MacroDef.NestedSequential extends Object implements TaskContainer

The class corresponding to the sequential nested element. This is a simple task container.
Method Summary
voidaddTask(Task task)
Add a task or type to the container.
ListgetNested()
booleansimilar(MacroDef.NestedSequential other)
A compare function to compare this with another NestedSequential.

Method Detail

addTask

public void addTask(Task task)
Add a task or type to the container.

Parameters: task an unknown element.

getNested

public List getNested()

Returns: the list of unknown elements

similar

public boolean similar(MacroDef.NestedSequential other)
A compare function to compare this with another NestedSequential. It calls similar on the nested unknown elements.

Parameters: other the nested sequential to compare with.

Returns: true if they are similar, false otherwise

Copyright B) 2000-2007 Apache Software Foundation. All Rights Reserved.