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, DOMObject, EventTarget, Node

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

Member Summary

Member Functions: appendChild, dispatchNodeInsertedIntoDocument, dispatchNodeRemovedFromDocument, findAttribute, findElement, findNode, firstChild, getNodeByPath, getNodeByPathNS, hasAttributeValue, hasAttributes, hasChildNodes, insertBefore, lastChild, namesAreEqual, removeChild, replaceChild

Inherited Functions: addEventListener, appendChild, attributes, autoRelease, bubbleEvent, captureEvent, childNodes, cloneNode, copyNode, dispatchAttrModified, dispatchCharacterDataModified, dispatchEvent, dispatchNodeInserted, dispatchNodeInsertedIntoDocument, dispatchNodeRemoved, dispatchNodeRemovedFromDocument, dispatchSubtreeModified, duplicate, events, eventsSuspended, firstChild, getNodeByPath, getNodeByPathNS, getNodeValue, hasAttributes, hasChildNodes, innerText, insertBefore, isSupported, lastChild, localName, namespaceURI, nextSibling, nodeName, nodeType, nodeValue, normalize, ownerDocument, parentNode, prefix, previousSibling, release, removeChild, removeEventListener, replaceChild, setNodeValue, setOwnerDocument

Constructors

AbstractContainerNode protected

AbstractContainerNode(
    Document * pOwnerDocument
);

AbstractContainerNode protected

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

Destructor

~AbstractContainerNode protected virtual

~AbstractContainerNode();

Member Functions

appendChild virtual

Node * appendChild(
    Node * newChild
);

See also: Poco::XML::AbstractNode::appendChild()

firstChild virtual

Node * firstChild() const;

See also: Poco::XML::AbstractNode::firstChild()

getNodeByPath virtual

Node * getNodeByPath(
    const XMLString & path
) const;

See also: Poco::XML::AbstractNode::getNodeByPath()

getNodeByPathNS virtual

Node * getNodeByPathNS(
    const XMLString & path,
    const NSMap & nsMap
) const;

See also: Poco::XML::AbstractNode::getNodeByPathNS()

hasAttributes virtual

bool hasAttributes() const;

See also: Poco::XML::AbstractNode::hasAttributes()

hasChildNodes virtual

bool hasChildNodes() const;

See also: Poco::XML::AbstractNode::hasChildNodes()

insertBefore virtual

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

See also: Poco::XML::AbstractNode::insertBefore()

lastChild virtual

Node * lastChild() const;

See also: Poco::XML::AbstractNode::lastChild()

removeChild virtual

Node * removeChild(
    Node * oldChild
);

See also: Poco::XML::AbstractNode::removeChild()

replaceChild virtual

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

See also: Poco::XML::AbstractNode::replaceChild()

dispatchNodeInsertedIntoDocument protected virtual

void dispatchNodeInsertedIntoDocument();

See also: Poco::XML::AbstractNode::dispatchNodeInsertedIntoDocument()

dispatchNodeRemovedFromDocument protected virtual

void dispatchNodeRemovedFromDocument();

See also: Poco::XML::AbstractNode::dispatchNodeRemovedFromDocument()

findAttribute protected static

static const Attr * findAttribute(
    const XMLString & name,
    const Node * pNode,
    const NSMap * pNSMap
);

findElement protected static

static const Node * findElement(
    const XMLString & name,
    const Node * pNode,
    const NSMap * pNSMap
);

findElement protected static

static const Node * findElement(
    int index,
    const Node * pNode,
    const NSMap * pNSMap
);

findElement protected static

static const Node * findElement(
    const XMLString & attr,
    const XMLString & value,
    const Node * pNode,
    const NSMap * pNSMap
);

findNode protected static

static const Node * findNode(
    XMLString::const_iterator & it,
    const XMLString::const_iterator & end,
    const Node * pNode,
    const NSMap * pNSMap
);

hasAttributeValue protected

bool hasAttributeValue(
    const XMLString & name,
    const XMLString & value,
    const NSMap * pNSMap
) const;

namesAreEqual protected static

static bool namesAreEqual(
    const Node * pNode1,
    const Node * pNode2,
    const NSMap * pNSMap
);

namesAreEqual protected static

static bool namesAreEqual(
    const Node * pNode,
    const XMLString & name,
    const NSMap * pNSMap
);