.TH "DOM::DocumentType" kde3 "11 Jun 2005" "Version Version 3.4.1" "khtml Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
DOM::DocumentType \- Each \fC\fBDocument\fP\fP has a \fCdoctype\fP attribute whose value is either \fCnull\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
.ti -1c
.RI "\fBNamedNodeMap\fP \fBentities\fP () const "
.br
.ti -1c
.RI "\fBNamedNodeMap\fP \fBnotations\fP () const "
.br
.ti -1c
.RI "\fBDOMString\fP \fBpublicId\fP () const "
.br
.ti -1c
.RI "\fBDOMString\fP \fBsystemId\fP () const "
.br
.ti -1c
.RI "\fBDOMString\fP \fBinternalSubset\fP () const "
.br
.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 \fCdoctype\fP attribute whose value is either \fCnull\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 1028 of file dom_doc.h.
.SH "Member Function Documentation"
.PP 
.SS "\fBDOMString\fP DOM::DocumentType::name () const"
.PP
The name of DTD; i.e., the name immediately following the \fCDOCTYPE\fP keyword. 
.PP
Definition at line 636 of file dom_doc.cpp.
.SS "\fBNamedNodeMap\fP DOM::DocumentType::entities () const"
.PP
A \fC\fBNamedNodeMap\fP\fP containing the general entities, both external and internal, declared in the DTD. 
.PP
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 \fCfoo\fP and \fCbar\fP but not \fCbaz\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 \fCentities\fP cannot be altered in any way. 
.PP
Definition at line 644 of file dom_doc.cpp.
.SS "\fBNamedNodeMap\fP DOM::DocumentType::notations () const"
.PP
A \fC\fBNamedNodeMap\fP\fP containing the notations declared in the DTD. 
.PP
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 \fCnotations\fP cannot be altered in any way. 
.PP
Definition at line 652 of file dom_doc.cpp.
.SS "\fBDOMString\fP DOM::DocumentType::publicId () const"
.PP
Introduced in \fBDOM\fP Level 2. 
.PP
The public identifier of the external subset. 
.PP
Definition at line 660 of file dom_doc.cpp.
.SS "\fBDOMString\fP DOM::DocumentType::systemId () const"
.PP
Introduced in \fBDOM\fP Level 2. 
.PP
The system identifier of the external subset. 
.PP
Definition at line 668 of file dom_doc.cpp.
.SS "\fBDOMString\fP DOM::DocumentType::internalSubset () const"
.PP
Introduced in \fBDOM\fP Level 2. 
.PP
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. 
.PP
Definition at line 676 of file dom_doc.cpp.

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