CodeQL library for Java/Kotlin
codeql/java-all 1.1.2-dev (changelog, source)
Search

Class AndroidPermissionXmlAttribute

The attribute android:perrmission, android:readPermission, or android:writePermission.

Import path

import semmle.code.xml.AndroidManifest

Direct supertypes

Indirect supertypes

Predicates

isFull

Holds if this is an android:permission attribute.

isRead

Holds if this is an android:readPermission attribute.

isWrite

Holds if this is an android:writePermission attribute.

Inherited predicates

getElement

Gets the XML element to which this attribute belongs.

from XmlAttributeImpl
getLocation

Gets the location of this element.

from XmlLocatableImpl
getName

Gets the name of this attribute.

from XmlAttributeImpl
getNamespace

Gets the namespace of this attribute, if any.

from XmlAttributeImpl
getValue

Gets the value of this attribute.

from XmlAttributeImpl
hasLocationInfo

Holds if this element is at the specified location. The location spans column startcolumn of line startline to column endcolumn of line endline in file filepath. For more information, see Locations.

from XmlLocatableImpl
hasNamespace

Holds if this attribute has a namespace.

from XmlAttributeImpl
toString

Gets a printable representation of this XML attribute.

from XmlAttributeImpl

Charpred