Package com.android.manifmerger
Class XmlNode.Name
java.lang.Object
com.android.manifmerger.XmlNode.Name
- All Implemented Interfaces:
XmlNode.NodeName
- Enclosing class:
- XmlNode
Implementation of
XmlNode.NodeName for an node's declaration not using a namespace.-
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.
-
equals
-
hashCode
public int hashCode() -
toString
-
getLocalName
Description copied from interface:XmlNode.NodeNameThe local name.- Specified by:
getLocalNamein interfaceXmlNode.NodeName
-