Module buildtools :: Class AntWriter |
[hide private]
[frames] | no frames]

# Class AntWriter

source code

    AbstractOutputWriter --+
                           |
                          AntWriter

Implements Ant XML output format.

Instance Methods | [hide private]
__init__(self, fileOut) | source code
writeTopLevel(self, config_list, spec_name, output_path, xml_file) Method to override to implement top level commands. | source code
write(self, cmdList) Writes the command list to Ant format. | source code
__stageToTarget(self, doc, stage, cmds) Convert a stage into an Ant target. | source code
Inherited from `AbstractOutputWriter`: `__call__`, `close`

Static Methods | [hide private]
__commandToAnt(doc, cmd) Convert a command into an Ant task. | source code
__getCommandByStage(cmdList) Reorder a CommandList into a list of stages. | source code

Method Details | [hide private]

### __init__(self, fileOut) (Constructor) | source code
Overrides: AbstractOutputWriter.__init__

### writeTopLevel(self, config_list, spec_name, output_path, xml_file) | source code
Method to override to implement top level commands. Overrides: AbstractOutputWriter.writeTopLevel (inherited documentation)

### write(self, cmdList) | source code
Writes the command list to Ant format. Overrides: AbstractOutputWriter.write