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

Class Make::XmlNamespace

A namespace used in an XML file.

Example:

xmlns:android="http://schemas.android.com/apk/res/android"

Import path

import codeql.xml.Xml

Direct supertypes

Indirect supertypes

Predicates

getPrefix

Gets the prefix of this namespace.

getUri

Gets the URI of this namespace.

isDefault

Holds if this namespace has no prefix.

toString

Gets a textual representation of this element.

Inherited predicates

getLocation

Gets the location of this element.

from XmlLocatableImpl
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