Class XML::XMLParent

An XMLParent is either an XMLElement or an XMLFile, both of which can contain other elements.

Direct supertypes

Known direct subtypes

Predicates

allCharactersString

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

charsSetUpTo

Append the character sequences of this XML parent from left to right, separated by a space, up to a specified (zero-based) index.

getACharactersSet

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

getAChild

A child element of this XML parent.

getAChild

A child element of this XML parent with the given name.

getAComment

A comment that is a child of this XML parent.

getChild

The child element at a specified index of this XML parent.

getDepth

The depth in the tree. (Overridden in XMLElement.)

getFile

The file to which this XML parent belongs.

getName

A printable representation of this XML parent. (Intended to be overridden in subclasses.)

getNumberOfCharacterSets

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

getNumberOfChildren

The number of child XML elements of this XML parent.

getTextValue

The text value contained in this XML parent.

toString

A printable representation of this XML parent.