org.apache.tools.ant.taskdefs

Class EchoXML

public class EchoXML extends XMLFragment

Echo XML. Known limitations:
  1. Currently no XMLNS support
  2. Processing Instructions get ignored
  3. Encoding is always UTF-8

Since: Ant 1.7

Method Summary
voidexecute()
Execute the task.
voidsetAppend(boolean b)
Set whether to append the output file.
voidsetFile(File f)
Set the output file.

Method Detail

execute

public void execute()
Execute the task.

setAppend

public void setAppend(boolean b)
Set whether to append the output file.

Parameters: b boolean append flag.

setFile

public void setFile(File f)
Set the output file.

Parameters: f the output file.