IParentNode Interface

IParentNode interface

Defines the IParentNode interface that is implemented by any possible parents.

public interface IParentNode : IElementTraversal


getChildElementCount The childElementCount attribute must return the number of children of the context object that are elements.
getChildren Returns the child elements.
getFirstElementChild Returns the first child that is an element, and null otherwise.
getLastElementChild Returns the last child that is an element, and null otherwise.


querySelector(String)Returns the first element that is a descendant of node that matches selectors.
querySelectorAll(String)Returns all element descendants of node that match selectors.

See Also