dom_element.h
The Attr interface represents an attribute in an Element object.
Definition dom_element.h:90
bool specified() const
If this attribute was explicitly given a value in the original document, this is true ; otherwise,...
Definition dom_element.cpp:74
DOMString value() const
On retrieval, the value of the attribute is returned as a string.
Definition dom_element.cpp:86
The CSSStyleDeclaration interface represents a single CSS declaration block .
Definition css_value.h:61
By far the vast majority of objects (apart from text) that authors encounter when traversing a docume...
Definition dom_element.h:211
DOMString getAttributeNS(const DOMString &namespaceURI, const DOMString &localName)
Introduced in DOM Level 2.
Definition dom_element.cpp:249
bool hasAttribute(const DOMString &name)
Returns true when an attribute with a given name is specified on this element or has a default value,...
Definition dom_element.cpp:312
DOMString getAttribute(const DOMString &name)
Retrieves an attribute value by name.
Definition dom_element.cpp:147
void removeAttribute(const DOMString &name)
Removes an attribute by name.
Definition dom_element.cpp:174
Attr setAttributeNodeNS(const Attr &newAttr)
Introduced in DOM Level 2.
Definition dom_element.cpp:297
NodeList getElementsByTagName(const DOMString &name)
Returns a NodeList of all descendant elements with a given tag name, in the order in which they would...
Definition dom_element.cpp:231
Attr getAttributeNode(const DOMString &name)
Retrieves an Attr node by name.
Definition dom_element.cpp:188
CSSStyleDeclaration style()
Introduced in DOM Level 2 This method is from the CSSStyleDeclaration interface.
Definition dom_element.cpp:349
bool hasAttributeNS(const DOMString &namespaceURI, const DOMString &localName)
Introduced in DOM Level 2.
Definition dom_element.cpp:322
void setAttribute(const DOMString &name, const DOMString &value)
Adds a new attribute.
Definition dom_element.cpp:162
Attr getAttributeNodeNS(const DOMString &namespaceURI, const DOMString &localName)
Introduced in DOM Level 2.
Definition dom_element.cpp:284
NodeList getElementsByTagNameNS(const DOMString &namespaceURI, const DOMString &localName)
Introduced in DOM Level 2 Returns a NodeList of all the descendant Elements with a given local name a...
Definition dom_element.cpp:242
void removeAttributeNS(const DOMString &namespaceURI, const DOMString &localName)
Introduced in DOM Level 2.
Definition dom_element.cpp:271
void setAttributeNS(const DOMString &namespaceURI, const DOMString &qualifiedName, const DOMString &value)
Introduced in DOM Level 2.
Definition dom_element.cpp:259
Attr removeAttributeNode(const Attr &oldAttr)
Removes the specified attribute.
Definition dom_element.cpp:216
Element form() const
TDEHTML extension to DOM This method returns the associated form element.
Definition dom_element.cpp:338
The NodeList interface provides the abstraction of an ordered collection of nodes,...
Definition dom_node.h:932
The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...
Definition design.h:57
Trinity API Reference