Package org.glassfish.pfl.test
Class DOMElementWriter.XmlNamespacePolicy
java.lang.Object
org.glassfish.pfl.test.DOMElementWriter.XmlNamespacePolicy
- Enclosing class:
DOMElementWriter
Whether namespaces should be ignored for elements and attributes.
- Since:
- Ant 1.7
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DOMElementWriter.XmlNamespacePolicy
Ignores namespaces for elements and attributes, the default.static final DOMElementWriter.XmlNamespacePolicy
Ignores namespaces for attributes.static final DOMElementWriter.XmlNamespacePolicy
Qualifies namespaces for elements and attributes.private boolean
private boolean
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
qualifyElements
private boolean qualifyElements -
qualifyAttributes
private boolean qualifyAttributes -
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
-