XmlnsAttributeDescriptorpublic final class XmlnsAttributeDescriptor extends AttributeDescriptor Describes an XMLNS attribute that is hidden.
Such an attribute has no user interface and no corresponding {@link UiAttributeNode}.
It also has a single constant default value.
When loading an XML, we'll ignore this attribute.
However when writing a new XML, we should always write this attribute.
Currently this is used for the xmlns:android attribute in the manifest element. |
Fields Summary |
---|
public static final String | XMLNS_URIURI of the reserved "xmlns" prefix, as described in
http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/namespaces-algorithms.html#normalizeDocumentAlgo | private String | mValue |
Constructors Summary |
---|
public XmlnsAttributeDescriptor(String defaultPrefix, String value)
super(defaultPrefix, XMLNS_URI);
mValue = value;
|
|