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

Additional Inherited Members

Public Member Functions inherited from Document
DocumentType * doctype ()
Element * documentElement ()
 Document (Document *ownerdoc=nullptr, Node *parentnode=nullptr)
DOMString compatMode ()
DOMString * lookupPrefix (std::optional< DOMString > namesp)
HTMLCollection * getElementsByTagName (DOMString qualifiedName)
HTMLCollection * getElementsByTagNameNS (std::optional< DOMString > namesp, DOMString localname)
HTMLCollection * getElementsByClassName (std::vector< DOMString > &classNames)
Element * createElement (DOMString localName, std::variant< DOMString, ElementCreationOptions > options)
Element * createElementNS (std::optional< DOMString > namesp, DOMString qualifiedName, std::variant< DOMString, ElementCreationOptions > options)
Node * importNode (Node *node, std::variant< bool, ImportNodeOptions > options=false)
Node * adoptNode (Node *node)
DocumentFragment * createDocumentFragment ()
Text * createTextNode (DOMString data)
CDATASection * createCDATASection (DOMString data)
Comment * createComment (DOMString data)
ProcessingInstruction * createProcessingInstruction (DOMString target, DOMString data)
Attr * createAttribute (DOMString localName)
Attr * createAttributeNS (std::optional< DOMString > namesp, DOMString qualifiedName)
Event * createEvent (DOMString interface)
Range * createRange ()
NodeIterator * createNodeIterator (Node *root, unsigned long whatToShow=0xFFFFFFFF, NodeFilter *filter=nullptr)
TreeWalker * createTreeWalker (Node *root, unsigned long whatToShow=0xFFFFFFFF, NodeFilter *filter=nullptr)
CustomElementRegistry * get_custom_element_registry () const
virtual Node * get_the_parent (Event *event)
virtual void making_it_abstract ()
Public Member Functions inherited from ParentNode
Element * firstElementChild () const
Element * lastElementChild () const
unsigned long childElementCount () const
void evaluate_children ()
void prepend (std::vector< std::variant< Node *, DOMString > > &nodes)
void append (std::vector< std::variant< Node *, DOMString > > &nodes)
void replaceChildren (std::vector< std::variant< Node *, DOMString > > &nodes)
void moveBefore (Node *node, Node *child)
Element * querySelector (DOMString selectors)
NodeList querySelectorAll (DOMString selectors)
 ParentNode (node_type nodeType, DOMString nodeName, Document *ownerDocument, Node *parentNode)
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 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 inherited from Document
CustomElementRegistry * custom_element_registry = nullptr
DOMImplementation * implementation
USVString URL = "about:blank"
USVString documentURI = URL
 serialize
DOMString characterSet = "utf-8"
 serialize
DOMString contentType = "application/xml"
DOMString encoding = "utf-8"
DocType type = XML
DOMString * origin = nullptr
DocMode mode = NO_QUIRKS
bool allow_declarative_shodow_roots = false
Public Attributes inherited from ParentNode
HTMLCollection children
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 1388 of file Webelo.cpp.


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