public class EchoXML extends XMLFragment
Modifier and Type | Class and Description |
---|---|
static class |
EchoXML.NamespacePolicy |
XMLFragment.Child
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(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 execute()
public void setAppend(boolean b)
b
- boolean append flag.public void setFile(File f)
f
- the output file.public void setNamespacePolicy(EchoXML.NamespacePolicy n)
n
- namespace policy: "ignore," "elementsOnly," or "all"DOMElementWriter.XmlNamespacePolicy