29 #ifndef _DOM_ELEMENT_h_
30 #define _DOM_ELEMENT_h_
32 #include <dom/dom_node.h>
33 #include <dom/css_value.h>
35 #include <tdelibs_export.h>
43 class NamedAttrMapImpl;
93 friend class DocumentImpl;
95 friend class ElementImpl;
96 friend class NamedAttrMapImpl;
97 friend class AttrImpl;
105 Attr & operator = (
const Node &other);
106 Attr & operator = (
const Attr &other);
147 bool specified()
const;
175 Attr( AttrImpl *_impl );
293 void removeAttribute (
const DOMString &name );
332 Attr setAttributeNode (
const Attr &newAttr );
350 Attr removeAttributeNode (
const Attr &oldAttr );
439 void setAttributeNS (
const DOMString &namespaceURI,
460 void removeAttributeNS (
const DOMString &namespaceURI,
504 Attr setAttributeNodeNS (
const Attr &newAttr );
516 bool hasAttribute(
const DOMString& name );
532 bool hasAttributeNS (
const DOMString &namespaceURI,
555 bool contentEditable()
const;
573 void setContentEditable(
bool enabled);
579 bool isHTMLElement()
const;
589 static bool tdehtmlValidAttrName(
const DOMString &name);
590 static bool tdehtmlValidPrefix(
const DOMString &name);
591 static bool tdehtmlValidQualifiedName(
const DOMString &name);
593 static bool tdehtmlMalformedQualifiedName(
const DOMString &name);
594 static bool tdehtmlMalformedPrefix(
const DOMString &name);
The CSSStyleDeclaration interface represents a single CSS declaration block .
By far the vast majority of objects (apart from text) that authors encounter when traversing a docume...
The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...
The Attr interface represents an attribute in an Element object.
An HTMLDocument is the root of the HTML hierarchy and holds the entire content.
The Document interface represents the entire HTML or XML document.
This class implements the basic string we use in the DOM.
The NodeList interface provides the abstraction of an ordered collection of nodes,...
The Node interface is the primary datatype for the entire Document Object Model.