public class EchoXML extends XMLFragment
Modifier and Type | Class and Description |
---|---|
static class |
EchoXML.NamespacePolicy |
XMLFragment.Child
description, location, project
Constructor and Description |
---|
EchoXML() |
Modifier and Type | Method and Description |
---|---|
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
|
addText, createDynamicElement, getFragment
clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
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.XmlNamespacePolicy
public void setAppend(boolean b)
b
- boolean append flag.public void execute()