class AbstractNode

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


AbstractNode provides a basic implementation of the Node interface for all types of nodes that do not contain other nodes.


Direct Base Classes: Node

All Base Classes: DOMObject, EventTarget, Node

Known Derived Classes: AbstractContainerNode, Attr, CharacterData, CDATASection, Comment, Document, DocumentType, Element, DocumentFragment, Entity, EntityReference, ProcessingInstruction, Text, Notation

Member Summary

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

Inherited Functions: addEventListener, appendChild, attributes, autoRelease, childNodes, cloneNode, dispatchEvent, duplicate, 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


AbstractNode protected

    Document * pOwnerDocument

AbstractNode protected

    Document * pOwnerDocument,
    const AbstractNode & node


~AbstractNode protected virtual


Member Functions

addEventListener virtual

void addEventListener(
    const XMLString & type,
    EventListener * listener,
    bool useCapture

See also: Poco::XML::EventTarget::addEventListener()

appendChild virtual

Node * appendChild(
    Node * newChild

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

attributes virtual

NamedNodeMap * attributes() const;

See also: Poco::XML::Node::attributes()

autoRelease virtual

virtual void autoRelease();

See also: Poco::XML::DOMObject::autoRelease()

childNodes virtual

NodeList * childNodes() const;

See also: Poco::XML::Node::childNodes()

cloneNode virtual

Node * cloneNode(
    bool deep
) const;

See also: Poco::XML::Node::cloneNode()

dispatchEvent virtual

bool dispatchEvent(
    Event * evt

See also: Poco::XML::EventTarget::dispatchEvent()

firstChild virtual

Node * firstChild() const;

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

getNodeByPath virtual

Node * getNodeByPath(
    const XMLString & path
) const;

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

getNodeByPathNS virtual

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

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

getNodeValue virtual

const XMLString & getNodeValue() const;

See also: Poco::XML::Node::getNodeValue()

hasAttributes virtual

bool hasAttributes() const;

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

hasChildNodes virtual

bool hasChildNodes() const;

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

innerText virtual

XMLString innerText() const;

See also: Poco::XML::Node::innerText()

insertBefore virtual

Node * insertBefore(
    Node * newChild,
    Node * refChild

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

isSupported virtual

bool isSupported(
    const XMLString & feature,
    const XMLString & version
) const;

See also: Poco::XML::Node::isSupported()

lastChild virtual

Node * lastChild() const;

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

localName virtual

const XMLString & localName() const;

See also: Poco::XML::Node::localName()

namespaceURI virtual

const XMLString & namespaceURI() const;

See also: Poco::XML::Node::namespaceURI()

nextSibling virtual

Node * nextSibling() const;

See also: Poco::XML::Node::nextSibling()

nodeName virtual

const XMLString & nodeName() const;

See also: Poco::XML::Node::nodeName()

normalize virtual

void normalize();

See also: Poco::XML::Node::normalize()

ownerDocument virtual

Document * ownerDocument() const;

See also: Poco::XML::Node::ownerDocument()

parentNode virtual

Node * parentNode() const;

See also: Poco::XML::Node::parentNode()

prefix virtual

XMLString prefix() const;

See also: Poco::XML::Node::prefix()

previousSibling virtual

Node * previousSibling() const;

See also: Poco::XML::Node::previousSibling()

removeChild virtual

Node * removeChild(
    Node * oldChild

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

removeEventListener virtual

void removeEventListener(
    const XMLString & type,
    EventListener * listener,
    bool useCapture

See also: Poco::XML::EventTarget::removeEventListener()

replaceChild virtual

Node * replaceChild(
    Node * newChild,
    Node * oldChild

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

setNodeValue virtual

void setNodeValue(
    const XMLString & value

See also: Poco::XML::Node::setNodeValue()

bubbleEvent protected

void bubbleEvent(
    Event * evt

captureEvent protected

void captureEvent(
    Event * evt

copyNode protected virtual

virtual Node * copyNode(
    bool deep,
    Document * pOwnerDocument
) const = 0;

dispatchAttrModified protected

void dispatchAttrModified(
    Attr * pAttr,
    MutationEvent::AttrChangeType changeType,
    const XMLString & prevValue,
    const XMLString & newValue

dispatchCharacterDataModified protected

void dispatchCharacterDataModified(
    const XMLString & prevValue,
    const XMLString & newValue

dispatchNodeInserted protected

void dispatchNodeInserted();

dispatchNodeInsertedIntoDocument protected virtual

virtual void dispatchNodeInsertedIntoDocument();

dispatchNodeRemoved protected

void dispatchNodeRemoved();

dispatchNodeRemovedFromDocument protected virtual

virtual void dispatchNodeRemovedFromDocument();

dispatchSubtreeModified protected

void dispatchSubtreeModified();

events protected virtual

virtual bool events() const;

eventsSuspended protected virtual

virtual bool eventsSuspended() const;

setOwnerDocument protected

void setOwnerDocument(
    Document * pOwnerDocument


EMPTY_STRING protected static

static const XMLString EMPTY_STRING;