class Notation

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


This interface represents a notation declared in the DTD. A notation either declares, by name, the format of an unparsed entity (see section 4.7 of the XML 1.0 specification <http://www.w3.org/TR/2004/REC-xml-20040204/>), or is used for formal declaration of processing instruction targets (see section 2.6 of the XML 1.0 specification). The nodeName attribute inherited from Node is set to the declared name of the notation.

The DOM Level 1 does not support editing Notation nodes; they are therefore readonly.

A Notation node does not have any parent.


Direct Base Classes: AbstractNode

All Base Classes: AbstractNode, DOMObject, EventTarget, Node

Member Summary

Member Functions: copyNode, nodeName, nodeType, publicId, systemId

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


Notation protected

    Document * pOwnerDocument,
    const Notation & notation

Notation protected

    Document * pOwnerDocument,
    const XMLString & name,
    const XMLString & publicId,
    const XMLString & systemId


~Notation protected virtual


Member Functions

nodeName virtual

const XMLString & nodeName() const;

nodeType virtual

unsigned short nodeType() const;

publicId inline

const XMLString & publicId() const;

Returns the public identifier of this notation. If not specified, this is an empty string (and not null, as in the DOM specification).

systemId inline

const XMLString & systemId() const;

Returns the system identifier of this notation. If not specified, this is an empty string (and not null, as in the DOM specification).

copyNode protected virtual

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