CodeQL library for C#
codeql/csharp-all 4.0.1-dev (changelog, source)
Search

Class Make::XmlParent

An XmlParent is either an XmlElement or an XmlFile, both of which can contain other elements.

Import path

import codeql.xml.Xml

Direct supertypes

Predicates

allCharactersString

Gets the result of appending all the character sequences of this XML parent from left to right, separated by a space.

getACharactersSet

Gets a character sequence that is a child of this XML parent.

getAChild

Gets a child element of this XML parent.

getAChild

Gets a child element of this XML parent with the given name.

getAComment

Gets a comment that is a child of this XML parent.

getChild

Gets the child element at a specified index of this XML parent.

getDepth

Gets the depth in the tree. (Overridden in XmlElement.)

getFile

Gets the file to which this XML parent belongs.

getName

Gets a printable representation of this XML parent.

getNumberOfCharacterSets

Gets the number of places in the body of this XML parent where text occurs.

getNumberOfChildren

Gets the number of child XML elements of this XML parent.

getTextValue

Gets the text value contained in this XML parent.

toString

Gets a printable representation of this XML parent.

Charpred