Logo Search packages:      
Sourcecode: poco version File versions  Download package

Poco::XML::AbstractNode Class Reference

#include <AbstractNode.h>

Inheritance diagram for Poco::XML::AbstractNode:

Poco::XML::Node Poco::XML::EventTarget Poco::XML::DOMObject Poco::XML::AbstractContainerNode Poco::XML::Attr Poco::XML::CharacterData Poco::XML::EntityReference Poco::XML::Notation Poco::XML::ProcessingInstruction Poco::XML::Document Poco::XML::DocumentFragment Poco::XML::DocumentType Poco::XML::Element Poco::XML::Entity Poco::XML::Comment Poco::XML::Text Poco::XML::CDATASection

List of all members.

Detailed Description

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

Definition at line 58 of file AbstractNode.h.

Public Types

enum  {

Public Member Functions

void addEventListener (const XMLString &type, EventListener *listener, bool useCapture)
NodeappendChild (Node *newChild)
NamedNodeMapattributes () const
virtual void autoRelease ()
NodeListchildNodes () const
NodecloneNode (bool deep) const
bool dispatchEvent (Event *evt)
void duplicate () const
NodefirstChild () const
const XMLString & getNodeValue () const
 Returns the value of this node, depending on its type.
bool hasAttributes () const
 Returns the local name of the node.
bool hasChildNodes () const
XMLString innerText () const
 Returns whether this node (if it is an element) has any attributes.
NodeinsertBefore (Node *newChild, Node *refChild)
bool isSupported (const XMLString &feature, const XMLString &version) const
NodelastChild () const
const XMLString & localName () const
 Returns the namespace prefix from the qualified name of the node.
const XMLString & namespaceURI () const
NodenextSibling () const
const XMLString & nodeName () const
virtual unsigned short nodeType () const =0
const XMLString & nodeValue () const
 Returns the name of this node, depending on its type.
void normalize ()
DocumentownerDocument () const
NodeparentNode () const
 Returns a code representing the type of the underlying object.
XMLString prefix () const
NodepreviousSibling () const
void release () const
 Increases the object's reference count.
NoderemoveChild (Node *oldChild)
void removeEventListener (const XMLString &type, EventListener *listener, bool useCapture)
NodereplaceChild (Node *newChild, Node *oldChild)
void setNodeValue (const XMLString &value)
 Returns the value of this node, depending on its type.

Protected Member Functions

 AbstractNode (Document *pOwnerDocument, const AbstractNode &node)
 AbstractNode (Document *pOwnerDocument)
void bubbleEvent (Event *evt)
void captureEvent (Event *evt)
virtual NodecopyNode (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 Protected Attributes

static const XMLString EMPTY_STRING

Private Attributes


Static Private Attributes

static const XMLString NODE_NAME = toXMLString("#node")


class AbstractContainerNode
class Attr
class CharacterData
class Document
class DocumentFragment
class DOMBuilder
class Element

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index