org.apache.tools.ant.taskdefs

Class EchoXML

  • All Implemented Interfaces:
    java.lang.Cloneable, DynamicElementNS


    public class EchoXML
    extends XMLFragment
    Echo XML. Known limitations:
    1. Processing Instructions get ignored
    2. Encoding is always UTF-8
    Since:
    Ant 1.7
    • Constructor Detail

      • EchoXML

        public EchoXML()
    • Method Detail

      • setFile

        public void setFile(java.io.File f)
        Set the output file.
        Parameters:
        f - the output file.
      • setAppend

        public void setAppend(boolean b)
        Set whether to append the output file.
        Parameters:
        b - boolean append flag.
      • execute

        public void execute()
        Execute the task.