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, DocumentFragment, DocumentType, Element, Entity, EntityReference, Notation, ProcessingInstruction, Text
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(
Document * pOwnerDocument
);
AbstractNode(
Document * pOwnerDocument,
const AbstractNode & node
);
~AbstractNode();
void addEventListener(
const XMLString & type,
EventListener * listener,
bool useCapture
);
Node * appendChild(
Node * newChild
);
See also: Poco::XML::Node::appendChild()
NamedNodeMap * attributes() const;
See also: Poco::XML::Node::attributes()
virtual void autoRelease();
See also: Poco::XML::DOMObject::autoRelease()
NodeList * childNodes() const;
See also: Poco::XML::Node::childNodes()
Node * cloneNode(
bool deep
) const;
See also: Poco::XML::Node::cloneNode()
bool dispatchEvent(
Event * evt
);
See also: Poco::XML::EventTarget::dispatchEvent()
Node * firstChild() const;
See also: Poco::XML::Node::firstChild()
Node * getNodeByPath(
const XMLString & path
) const;
See also: Poco::XML::Node::getNodeByPath()
Node * getNodeByPathNS(
const XMLString & path,
const NSMap & nsMap
) const;
See also: Poco::XML::Node::getNodeByPathNS()
const XMLString & getNodeValue() const;
See also: Poco::XML::Node::getNodeValue()
bool hasAttributes() const;
See also: Poco::XML::Node::hasAttributes()
bool hasChildNodes() const;
See also: Poco::XML::Node::hasChildNodes()
XMLString innerText() const;
See also: Poco::XML::Node::innerText()
Node * insertBefore(
Node * newChild,
Node * refChild
);
See also: Poco::XML::Node::insertBefore()
bool isSupported(
const XMLString & feature,
const XMLString & version
) const;
See also: Poco::XML::Node::isSupported()
Node * lastChild() const;
See also: Poco::XML::Node::lastChild()
const XMLString & localName() const;
See also: Poco::XML::Node::localName()
const XMLString & namespaceURI() const;
See also: Poco::XML::Node::namespaceURI()
Node * nextSibling() const;
See also: Poco::XML::Node::nextSibling()
const XMLString & nodeName() const;
See also: Poco::XML::Node::nodeName()
void normalize();
See also: Poco::XML::Node::normalize()
Document * ownerDocument() const;
See also: Poco::XML::Node::ownerDocument()
Node * parentNode() const;
See also: Poco::XML::Node::parentNode()
XMLString prefix() const;
See also: Poco::XML::Node::prefix()
Node * previousSibling() const;
See also: Poco::XML::Node::previousSibling()
Node * removeChild(
Node * oldChild
);
See also: Poco::XML::Node::removeChild()
void removeEventListener(
const XMLString & type,
EventListener * listener,
bool useCapture
);
Node * replaceChild(
Node * newChild,
Node * oldChild
);
See also: Poco::XML::Node::replaceChild()
void setNodeValue(
const XMLString & value
);
See also: Poco::XML::Node::setNodeValue()
void bubbleEvent(
Event * evt
);
void captureEvent(
Event * evt
);
virtual Node * copyNode(
bool deep,
Document * pOwnerDocument
) const = 0;
void dispatchAttrModified(
Attr * pAttr,
MutationEvent::AttrChangeType changeType,
const XMLString & prevValue,
const XMLString & newValue
);
void dispatchCharacterDataModified(
const XMLString & prevValue,
const XMLString & newValue
);
void dispatchNodeInserted();
virtual void dispatchNodeInsertedIntoDocument();
void dispatchNodeRemoved();
virtual void dispatchNodeRemovedFromDocument();
void dispatchSubtreeModified();
virtual bool events() const;
virtual bool eventsSuspended() const;
void setOwnerDocument(
Document * pOwnerDocument
);
static const XMLString EMPTY_STRING;