Poco::XML

class AbstractContainerNode

Library: XML
Package: DOM
Header: Poco/DOM/AbstractContainerNode.h

Description

AbstractContainerNode is an implementation of Node that stores and manages child nodes.

Child nodes are organized in a single linked list.

Inheritance

Direct Base Classes: AbstractNode

All Base Classes: AbstractNode

Known Derived Classes: Document, DocumentType, DocumentFragment, Element, Entity

Member Summary

Member Functions: appendChild, dispatchNodeInsertedIntoDocument, dispatchNodeRemovedFromDocument, firstChild, hasAttributes, hasChildNodes, insertBefore, lastChild, removeChild, replaceChild

Constructors

AbstractContainerNode protected

AbstractContainerNode(
    Document * pOwnerDocument
);

AbstractContainerNode protected

AbstractContainerNode(
    Document * pOwnerDocument,
    const AbstractContainerNode & node
);

Destructor

~AbstractContainerNode protected

~AbstractContainerNode();

Member Functions

appendChild

Node * appendChild(
    Node * newChild
);

firstChild

Node * firstChild() const;

hasAttributes

bool hasAttributes() const;

hasChildNodes

bool hasChildNodes() const;

insertBefore

Node * insertBefore(
    Node * newChild,
    Node * refChild
);

lastChild

Node * lastChild() const;

removeChild

Node * removeChild(
    Node * oldChild
);

replaceChild

Node * replaceChild(
    Node * newChild,
    Node * oldChild
);

dispatchNodeInsertedIntoDocument protected

void dispatchNodeInsertedIntoDocument();

dispatchNodeRemovedFromDocument protected

void dispatchNodeRemovedFromDocument();