Class XmlAttribute
An attribute that occurs inside an XML element.
Examples:
package="com.example.exampleapp"
android:versionCode="1"
Import path
import python
Direct supertypes
Indirect supertypes
Predicates
getElement |
Gets the XML element to which this attribute belongs. |
getName |
Gets the name of this attribute. |
getNamespace |
Gets the namespace of this attribute, if any. |
getValue |
Gets the value of this attribute. |
hasNamespace |
Holds if this attribute has a namespace. |
toString |
Gets a printable representation of this XML attribute. |
Inherited predicates
getLocation |
Gets the source location for this element. |
from XmlLocatable |
hasLocationInfo |
Holds if this element is at the specified location. The location spans column |
from XmlLocatable |