.TH "DOM::DocumentType" 3 "28 Jan 2004" "khtml Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
DOM::DocumentType \- Each \fC \fBDocument\fP \fP has a \fC doctype \fP attribute whose value is either \fC null \fP or a \fC \fBDocumentType\fP \fP object.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <dom_doc.h>\fP
.PP
Inherits \fBDOM::Node\fP.
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBDocumentType\fP (const  \fBDocumentType\fP &other)"
.br
.ti -1c
.RI "\fBDocumentType\fP (const  \fBNode\fP &other)"
.br
.ti -1c
.RI "\fBDocumentType\fP & \fBoperator=\fP (const  \fBNode\fP &other)"
.br
.ti -1c
.RI "\fBDocumentType\fP & \fBoperator=\fP (const  \fBDocumentType\fP &other)"
.br
.ti -1c
.RI "\fBDOMString\fP \fBname\fP () const "
.br
.RI "\fIThe name of DTD; i.e., the name immediately following the \fC DOCTYPE \fP keyword. \fP"
.ti -1c
.RI "\fBNamedNodeMap\fP \fBentities\fP () const "
.br
.RI "\fIA \fC \fBNamedNodeMap\fP \fP containing the general entities, both external and internal, declared in the DTD. \fP"
.ti -1c
.RI "\fBNamedNodeMap\fP \fBnotations\fP () const "
.br
.RI "\fIA \fC \fBNamedNodeMap\fP \fP containing the notations declared in the DTD. \fP"
.ti -1c
.RI "\fBDOMString\fP \fBpublicId\fP () const "
.br
.RI "\fIIntroduced in \fBDOM\fP Level 2. \fP"
.ti -1c
.RI "\fBDOMString\fP \fBsystemId\fP () const "
.br
.RI "\fIIntroduced in \fBDOM\fP Level 2. \fP"
.ti -1c
.RI "\fBDOMString\fP \fBinternalSubset\fP () const "
.br
.RI "\fIIntroduced in \fBDOM\fP Level 2. \fP"
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "\fBDocumentType\fP (DocumentTypeImpl *impl)"
.br
.in -1c
.SS "Friends"

.in +1c
.ti -1c
.RI "class \fBDocument\fP"
.br
.ti -1c
.RI "class \fBDOMImplementation\fP"
.br
.in -1c
.SH "Detailed Description"
.PP 
Each \fC \fBDocument\fP \fP has a \fC doctype \fP attribute whose value is either \fC null \fP or a \fC \fBDocumentType\fP \fP object. 

The \fC \fBDocumentType\fP \fP interface in the \fBDOM\fP 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.
.PP
The \fBDOM\fP Level 1 doesn't support editing \fC \fBDocumentType\fP \fP nodes. 
.PP
Definition at line 861 of file dom_doc.h.
.SH "Member Function Documentation"
.PP 
.SS "\fBDOMString\fP DocumentType::name () const"
.PP
The name of DTD; i.e., the name immediately following the \fC DOCTYPE \fP keyword. Definition at line 517 of file dom_doc.cpp.
.SS "\fBNamedNodeMap\fP DocumentType::entities () const"
.PP
A \fC \fBNamedNodeMap\fP \fP containing the general entities, both external and internal, declared in the DTD. Duplicates are discarded. For example in: <!DOCTYPE ex SYSTEM 'ex.dtd' [ <!ENTITY foo 'foo'> <!ENTITY bar 'bar'> <!ENTITY  baz 'baz'> ]> <ex/> the interface provides access to \fC foo \fP and \fC bar \fP but not \fC baz \fP . Every node in this map also implements the \fC \fBEntity\fP \fP interface.
.PP
The \fBDOM\fP Level 1 does not support editing entities, therefore \fC entities \fP cannot be altered in any way. Definition at line 525 of file dom_doc.cpp.
.SS "\fBNamedNodeMap\fP DocumentType::notations () const"
.PP
A \fC \fBNamedNodeMap\fP \fP containing the notations declared in the DTD. Duplicates are discarded. Every node in this map also implements the \fC \fBNotation\fP \fP interface.
.PP
The \fBDOM\fP Level 1 does not support editing notations, therefore \fC notations \fP cannot be altered in any way. Definition at line 533 of file dom_doc.cpp.
.SS "\fBDOMString\fP DocumentType::publicId () const"
.PP
Introduced in \fBDOM\fP Level 2. The public identifier of the external subset. Definition at line 541 of file dom_doc.cpp.
.SS "\fBDOMString\fP DocumentType::systemId () const"
.PP
Introduced in \fBDOM\fP Level 2. The system identifier of the external subset. Definition at line 549 of file dom_doc.cpp.
.SS "\fBDOMString\fP DocumentType::internalSubset () const"
.PP
Introduced in \fBDOM\fP Level 2. The internal subset as a string.
.PP
Note: The actual content returned depends on how much information is available to the implementation. This may vary depending on various parameters, including the XML processor used to build the document. Definition at line 557 of file dom_doc.cpp.

.SH "Author"
.PP 
Generated automatically by Doxygen for khtml Library from the source code.
