WEBELO
HTML Visualizer & DOM Library
Loading...
Searching...
No Matches
DocumentType Class Reference
Inheritance diagram for DocumentType:
Node EventTarget

Public Member Functions

 DocumentType (DOMString name, DOMString publicId="", DOMString systemId="", Document *ownerdoc=nullptr, Node *parentnode=nullptr)
DOMString getname ()
DOMString getpublicId ()
DOMString getsystemId ()
Public Member Functions inherited from Node
bool isConnected ()
virtual Node * firstChild ()
virtual Node * lastChild ()
virtual Node * previousSibling ()
virtual Node * nextSibling ()
bool hasChildNodes () const
Node * getRootNode (bool composed=false)
void normalize ()
Node * cloneNode (bool subtree)
 Node (node_type nodeType, DOMString nodeName, Document *ownerDocument=nullptr, Node *parentNode=nullptr)
unsigned long length ()
bool isEqualNode (Node *otherNode)
bool isSameNode (Node *otherNode)
unsigned short compareDocumentPosition (Node *other)
bool contains (Node *other)
virtual std::optional< DOMString > lookupPrefix (std::optional< DOMString > &namesp)
std::optional< DOMString > lookupNamespaceURI (std::optional< DOMString > &prefix)
bool isDefaultNamespace (std::optional< DOMString > &namesp)
Node * insertBefore (Node *node, Node *child)
Node * appendChild (Node *node)
Node * replaceChild (Node *node, Node *child)
Node * removeChild (Node *child)
virtual Node * get_the_parent (Event *event)
virtual std::optional< DOMString > getnodeValue ()
virtual void setnodeValue (DOMString &val)
virtual std::optional< DOMString > gettextContent ()
virtual void settextContent (DOMString &val)
bool operator== (Node &other)
bool operator^ (Node *other)
unsigned long index ()
Public Member Functions inherited from EventTarget
void addEventListener (DOMString &type, EventListener *callback, std::variant< AddEventListenerOptions, bool > &options)
void removeEventListener (DOMString &type, EventListener *callback, bool capture)
void removeAllEventListeners ()
bool dispatchEvent (Event *event)
bool operator== (const EventTarget &a)
bool operator!= (const EventTarget &a)
virtual EventTarget * get_the_parent (const Event *event)

Public Attributes

DOMString name
DOMString publicId
DOMString systemId
Public Attributes inherited from Node
node_type nodeType
DOMString nodeName
USVString baseURI
Document * ownerDocument
Node * parentNode
Element * parentElement = nullptr
NodeList childNodes
DOMString nodeValue
DOMString textContent
Public Attributes inherited from EventTarget
bool has_activation_behavior = false
bool has_legacy_canceled_activation_behavior = false
bool has_legacy_pre_activation_behavior = false
std::function< void(Event *event)> activation_behavior_algorithm = [](Event* event) {}
std::function< void()> legacy_canceled_activation_behavior_algorithm = []() {}
std::function< void()> legacy_pre_activation_behavior_algorithm = []() {}
std::vector< event_listener * > event_listener_list = {}

Detailed Description

Definition at line 1146 of file Webelo.cpp.

Constructor & Destructor Documentation

◆ DocumentType()

DocumentType::DocumentType ( DOMString name,
DOMString publicId = "",
DOMString systemId = "",
Document * ownerdoc = nullptr,
Node * parentnode = nullptr )
inline

Definition at line 1157 of file Webelo.cpp.

Member Function Documentation

◆ getname()

DOMString DocumentType::getname ( )
inline

Definition at line 1162 of file Webelo.cpp.

◆ getpublicId()

DOMString DocumentType::getpublicId ( )
inline

Definition at line 1165 of file Webelo.cpp.

◆ getsystemId()

DOMString DocumentType::getsystemId ( )
inline

Definition at line 1168 of file Webelo.cpp.

Member Data Documentation

◆ name

DOMString DocumentType::name

Definition at line 1148 of file Webelo.cpp.

◆ publicId

DOMString DocumentType::publicId

Definition at line 1149 of file Webelo.cpp.

◆ systemId

DOMString DocumentType::systemId

Definition at line 1150 of file Webelo.cpp.


The documentation for this class was generated from the following file: