CodeQL library for C/C++
codeql/cpp-all 0.12.9 (changelog, source)
Search

Class XmlNamespace

A namespace used in an XML file.

Example:

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

Import path

import cpp

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 source location for this element.

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