Package org.apache.tools.ant.util
Class DOMElementWriter.XmlNamespacePolicy
java.lang.Object
org.apache.tools.ant.util.DOMElementWriter.XmlNamespacePolicy
- Enclosing class:
- DOMElementWriter
public static class DOMElementWriter.XmlNamespacePolicy
extends java.lang.Object
Whether namespaces should be ignored for elements and attributes.
- Since:
- Ant 1.7
-
Field Summary
Fields Modifier and Type Field Description static DOMElementWriter.XmlNamespacePolicyIGNOREIgnores namespaces for elements and attributes, the default.static DOMElementWriter.XmlNamespacePolicyONLY_QUALIFY_ELEMENTSIgnores namespaces for attributes.static DOMElementWriter.XmlNamespacePolicyQUALIFY_ALLQualifies namespaces for elements and attributes. -
Constructor Summary
Constructors Constructor Description XmlNamespacePolicy(boolean qualifyElements, boolean qualifyAttributes) -
Method Summary
-
Field Details
-
IGNORE
Ignores namespaces for elements and attributes, the default. -
ONLY_QUALIFY_ELEMENTS
Ignores namespaces for attributes. -
QUALIFY_ALL
Qualifies namespaces for elements and attributes.
-
-
Constructor Details
-
XmlNamespacePolicy
public XmlNamespacePolicy(boolean qualifyElements, boolean qualifyAttributes)- Parameters:
qualifyElements- whether to qualify elementsqualifyAttributes- whether to qualify elements
-