Inheritance diagram for DOM_DocumentType:
Public Methods | |
Constructors and assignment operator | |
DOM_DocumentType () | |
DOM_DocumentType (int nullPointer) | |
DOM_DocumentType (const DOM_DocumentType &other) | |
DOM_DocumentType & | operator= (const DOM_DocumentType &other) |
DOM_DocumentType & | operator= (const DOM_NullPtr *val) |
Destructor. | |
~DOM_DocumentType () | |
Getter functions. | |
DOMString | getName () const |
DOM_NamedNodeMap | getEntities () const |
DOM_NamedNodeMap | getNotations () const |
Functions introduced in DOM Level 2. | |
DOMString | getPublicId () const |
DOMString | getSystemId () const |
DOMString | getInternalSubset () const |
Protected Methods | |
DOM_DocumentType (DocumentTypeImpl *) | |
Friends | |
class | DOM_Document |
class | DOM_DOMImplementation |
Document
has a doctype
whose value is either null
or a DocumentType
object.
The DOM_DocumentType
class provides access to the list of entities and notations that are defined for the document.
The DOM Level 1 doesn't support editing DocumentType
nodes.
|
Default constructor for DOM_DocumentType. The resulting object does not refer to an actual DocumentType node; it will compare == to 0, and is similar to a null object reference variable in Java. It may subsequently be assigned to refer to the actual DocumentType node. A new DocumentType node for a document that does not already have one can be created by DOM_Document::createDocumentType(). |
|
Constructor for a null DOM_DocumentType. This allows passing 0 directly as a null DOM_DocumentType to function calls that take DOM_DocumentType as parameters.
|
|
Copy constructor. Creates a new
|
|
Destructor for DOM_DocumentType. The object being destroyed is the reference object, not the underlying DocumentType node itself. |
|
This function returns a Note: this functionality is not implemented in the initial release of the parser, and the returned NamedNodeMap will be empty. |
|
Get the internal subset as a string.
|
|
The name of DTD; i.e., the name immediately following the |
|
This function returns a named node map containing an entry for each notation declared in a document's DTD. Duplicates are discarded. Note: this functionality is not implemented in the initial release of the parser, and the returned NamedNodeMap will be empty. |
|
Get the public identifier of the external subset.
|
|
Get the system identifier of the external subset.
|
|
Assignment operator. This overloaded variant is provided for the sole purpose of setting a DOM_Node reference variable to zero. Nulling out a reference variable in this way will decrement the reference count on the underlying Node object that the variable formerly referenced. This effect is normally obtained when reference variable goes out of scope, but zeroing them can be useful for global instances, or for local instances that will remain in scope for an extended time, when the storage belonging to the underlying node needs to be reclaimed.
Reimplemented from DOM_Node. |
|
Assignment operator.
|