| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.util.XMLFragment
org.apache.tools.ant.taskdefs.EchoXML
public class EchoXML
Echo XML. Known limitations:
| Nested Class Summary | |
|---|---|
| static class | EchoXML.NamespacePolicy | 
| Nested classes/interfaces inherited from class org.apache.tools.ant.util.XMLFragment | 
|---|
| XMLFragment.Child | 
| Field Summary | 
|---|
| Fields inherited from class org.apache.tools.ant.ProjectComponent | 
|---|
| description, location, project | 
| Constructor Summary | |
|---|---|
| EchoXML() | |
| Method Summary | |
|---|---|
|  void | execute()Execute the task. | 
|  void | setAppend(boolean b)Set whether to append the output file. | 
|  void | setFile(java.io.File f)Set the output file. | 
|  void | setNamespacePolicy(EchoXML.NamespacePolicy n)Set the namespace policy for the xml file | 
| Methods inherited from class org.apache.tools.ant.util.XMLFragment | 
|---|
| addText, createDynamicElement, getFragment | 
| Methods inherited from class org.apache.tools.ant.ProjectComponent | 
|---|
| clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public EchoXML()
| Method Detail | 
|---|
public void setFile(java.io.File f)
f - the output file.public void setNamespacePolicy(EchoXML.NamespacePolicy n)
n - namespace policy: "ignore," "elementsOnly," or "all"DOMElementWriter.XmlNamespacePolicypublic void setAppend(boolean b)
b - boolean append flag.public void execute()
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||