CodeQL library for Java
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 XMLAttribute
getLocation

Gets the source location for this element.

from XMLLocatable
getName

Gets the name of this attribute.

from XMLAttribute
getNamespace

Gets the namespace of this attribute, if any.

from XMLAttribute
getValue

Gets the value of this attribute.

from XMLAttribute
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 XMLLocatable
hasNamespace

Holds if this attribute has a namespace.

from XMLAttribute
toString

Gets a printable representation of this XML attribute.

from XMLAttribute

Charpred