Package com.android.manifmerger
Interface XmlNode.NodeName
- All Known Implementing Classes:
XmlNode.Name,XmlNode.NamespaceAwareName
- 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
Modifier and TypeMethodDescriptionvoidAdds a new attribute of this name to a xml element with a value.The local name.booleanisInNamespace(String namespaceURI) Returns true if this attribute name has a namespace declaration and that namespapce is the same as provided, false otherwise.
-
Method Details
-
isInNamespace
Returns true if this attribute name has a namespace declaration and that namespapce is the same as provided, false otherwise. -
addToNode
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.
-
getLocalName
String getLocalName()The local name.
-