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

DEPRECATED: Internal.

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. (Intended to be overridden in subclasses.)

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.