#include <Pt/Xml/DocType.h>
An EndDocType node represents the end of a DTD. More...
Inherits Node, and NonCopyable.
Public Member Functions | |
EndDocType () | |
Construct an empty DocType node. | |
~EndDocType () | |
Destructor. | |
void | clear () |
Clears all content. | |
bool | isExternal () const |
Returns true if the external DTD subset begins. | |
bool | isInternal () const |
Returns true if the internal DTD subset begins. | |
void | setInternal (bool value) |
Indicates the end of internal or external DTD subsets. | |
Type | type () const |
Returns the type of the node. | |
Related Functions | |
EndDocType * | toEndDocType (Node *node) |
Casts a generic node to a EndDocType node. | |
const EndDocType * | toEndDocType (const Node *node) |
Casts a generic node to a EndDocType node. | |
EndDocType & | toEndDocType (Node &node) |
Casts a generic node to a EndDocType node. | |
const EndDocType & | toEndDocType (const Node &node) |
Casts a generic node to a EndDocType node. | |
EndDocType nodes are only reported when the XmlReader is configured to do so. An EndDocType node indicates that a DTD subset is complete. EndDocType nodes might appear twice, after the internal DTD subset was parsed and after the external DTD subset was parsed.