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

Poco::XML::DocumentType Class Reference

#include <DocumentType.h>

Inheritance diagram for Poco::XML::DocumentType:

Poco::XML::AbstractContainerNode Poco::XML::AbstractNode Poco::XML::Node Poco::XML::EventTarget Poco::XML::DOMObject

List of all members.


Detailed Description

Each Document has a doctype attribute whose value is either null or a DocumentType object. The DocumentType interface in the DOM Level 1 Core provides an interface to the list of entities that are defined for the document, and little else because the effect of namespaces and the various XML scheme efforts on DTD representation are not clearly understood as of this writing.

The DOM Level 1 doesn't support editing DocumentType nodes.

Definition at line 54 of file DocumentType.h.


Public Types

enum  {
  ELEMENT_NODE = 1, ATTRIBUTE_NODE, TEXT_NODE, CDATA_SECTION_NODE,
  ENTITY_REFERENCE_NODE, ENTITY_NODE, PROCESSING_INSTRUCTION_NODE, COMMENT_NODE,
  DOCUMENT_NODE, DOCUMENT_TYPE_NODE, DOCUMENT_FRAGMENT_NODE, NOTATION_NODE
}

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
NamedNodeMapentities () 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)
const XMLString & internalSubset () const
 Returns the system identifier of the external DTD subset.
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 & name () const
const XMLString & namespaceURI () const
NodenextSibling () const
const XMLString & nodeName () const
unsigned short nodeType () const
const XMLString & nodeValue () const
 Returns the name of this node, depending on its type.
void normalize ()
NamedNodeMapnotations () const
DocumentownerDocument () const
NodeparentNode () const
 Returns a code representing the type of the underlying object.
XMLString prefix () const
NodepreviousSibling () const
const XMLString & publicId () 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.
const XMLString & systemId () const
 Returns the public identifier of the external DTD subset.

Protected Member Functions

void bubbleEvent (Event *evt)
void captureEvent (Event *evt)
NodecopyNode (bool deep, Document *pOwnerDocument) const
void dispatchAttrModified (Attr *pAttr, MutationEvent::AttrChangeType changeType, const XMLString &prevValue, const XMLString &newValue)
void dispatchCharacterDataModified (const XMLString &prevValue, const XMLString &newValue)
void dispatchNodeInserted ()
void dispatchNodeInsertedIntoDocument ()
void dispatchNodeRemoved ()
void dispatchNodeRemovedFromDocument ()
void dispatchSubtreeModified ()
 DocumentType (Document *pOwner, const DocumentType &dt)
 DocumentType (Document *pOwner, const XMLString &name, const XMLString &publicId, const XMLString &systemId)
virtual bool events () const
virtual bool eventsSuspended () const
void setOwnerDocument (Document *pOwnerDocument)

Static Protected Attributes

static const XMLString EMPTY_STRING

Private Attributes

XMLString _name
XMLString _publicId
XMLString _systemId

Friends

class Document
class DOMBuilder
class DOMImplementation

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

Generated by  Doxygen 1.6.0   Back to index