Package com.android.manifmerger
Class XmlNode.NamespaceAwareName
java.lang.Object
com.android.manifmerger.XmlNode.NamespaceAwareName
- All Implemented Interfaces:
XmlNode.NodeName
- Enclosing class:
- XmlNode
Implementation of the
XmlNode.NodeName for a namespace aware attribute.-
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a new attribute of this name to a xml element with a value.booleanThe local name.inthashCode()booleanisInNamespace(String namespaceURI) Returns true if this attribute name has a namespace declaration and that namespapce is the same as provided, false otherwise.toString()
-
Method Details
-
isInNamespace
Description copied from interface:XmlNode.NodeNameReturns true if this attribute name has a namespace declaration and that namespapce is the same as provided, false otherwise.- Specified by:
isInNamespacein interfaceXmlNode.NodeName
-
addToNode
Description copied from interface:XmlNode.NodeNameAdds a new attribute of this name to a xml element with a value.- Specified by:
addToNodein interfaceXmlNode.NodeName- Parameters:
to- the xml element to add the attribute to.withValue- the new attribute's value.
-
hashCode
public int hashCode() -
equals
-
toString
-
getLocalName
Description copied from interface:XmlNode.NodeNameThe local name.- Specified by:
getLocalNamein interfaceXmlNode.NodeName
-