Base Framework
|
DOM document type node. More...
#include <base/xml/DocumentType.h>
Inherits Node.
Public Member Functions | |
DocumentType (Node node) | |
String | getName () const noexcept |
NamedNodeMap | getEntities () const noexcept |
NamedNodeMap | getNotations () const noexcept |
String | getPublicId () const noexcept |
String | getSystemId () const noexcept |
String | getInternalSubset () const |
![]() | |
Node () noexcept | |
Node (const Node ©) noexcept | |
Node & | operator= (const Node &assign) noexcept |
Node | appendChild (Node child) |
Node | insertBefore (Node newChild, Node refChild) |
Node | removeChild (Node child) |
Node | replaceChild (Node newChild, Node oldChild) |
Node | cloneNode (bool deep) |
String | getLocalName () const noexcept |
String | getNamespaceURI () const noexcept |
String | getName () const |
NodeType | getType () const |
String | getValue () const |
ShadowDocument | getOwnerDocument () noexcept |
String | getPrefix () const |
void | setPrefix (const String &prefix) |
Node | getParent () const noexcept |
Node | getPreviousSibling () const noexcept |
Node | getNextSibling () const noexcept |
Node | getFirstChild () const |
Node | getLastChild () const |
bool | hasAttributes () const noexcept |
bool | hasChildNodes () const |
bool | isSupported (const String &feature, const String &version) const noexcept |
void | normalize () |
void | setValue (const String &value) |
bool | isValid () const noexcept |
bool | isInvalid () const noexcept |
bool | isUnlinked () const noexcept |
bool | isSame (const Node &node) const noexcept |
bool | operator== (const Node &node) const noexcept |
bool | hasSameOwner (const Node &node) const noexcept |
bool | isAncestor (const Node &node) const noexcept |
operator bool () const noexcept | |
~Node () noexcept | |
Protected Member Functions | |
DocumentType (void *context) noexcept | |
![]() | |
Node (void *_context) noexcept | |
void * | getContext () noexcept |
const void * | getContext () const noexcept |
Additional Inherited Members | |
![]() | |
enum | NodeType { ELEMENT_NODE, 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, ATTRIBUTE_DECL_NODE, ELEMENT_DECL_NODE, ENTITY_DECL_NODE } |
DOM document type node.
Each Document has a doctype attribute whose value is either null or a DocumentType node. The DocumentType clas in the DOM 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 schema efforts on DTD representation are not clearly understood as of this writing.
|
inlineprotectednoexcept |
Initializes the document type node.
|
inline |
Initializes the document type node from a node.
|
noexcept |
Returns the entities.
String DocumentType::getInternalSubset | ( | ) | const |
Returns the internal subset.
|
noexcept |
Returns the name.
|
noexcept |
Returns the notations.
|
noexcept |
Returns the public identifier.
|
noexcept |
Returns the system identifier.