com.android.manifmerger
Interface XmlNode.NodeName

Enclosing class:
XmlNode

public static interface XmlNode.NodeName

Abstraction to an xml name to isolate whether the name has a namespace or not.


Method Summary
 void addToNode(org.w3c.dom.Element to, java.lang.String withValue)
          Adds a new attribute of this name to a xml element with a value.
 java.lang.String getLocalName()
          The local name.
 boolean isInNamespace(java.lang.String namespaceURI)
          Returns true if this attribute name has a namespace declaration and that namespapce is the same as provided, false otherwise.
 void persistTo(org.w3c.dom.Element node)
          Persist itself inside a Element
 

Method Detail

isInNamespace

boolean isInNamespace(java.lang.String namespaceURI)
Returns true if this attribute name has a namespace declaration and that namespapce is the same as provided, false otherwise.


addToNode

void addToNode(org.w3c.dom.Element to,
               java.lang.String withValue)
Adds a new attribute of this name to a xml element with a value.

Parameters:
to - the xml element to add the attribute to.
withValue - the new attribute's value.

persistTo

void persistTo(org.w3c.dom.Element node)
Persist itself inside a Element


getLocalName

java.lang.String getLocalName()
The local name.