#include <Node.h>

Public Types | |
| enum | NodeType { ELEMENT_NODE = 1, ATTRIBUTE_NODE = 2, TEXT_NODE = 3, CDATA_SECTION_NODE = 4, ENTITY_REFERENCE_NODE = 5, ENTITY_NODE = 6, PROCESSING_INSTRUCTION_NODE = 7, COMMENT_NODE = 8, DOCUMENT_NODE = 9, DOCUMENT_TYPE_NODE = 10, DOCUMENT_FRAGMENT_NODE = 11, NOTATION_NODE = 12, XPATH_NAMESPACE_NODE = 13 } |
| enum | StyleChange { NoChange, NoInherit, Inherit, Detach, Force } |
Public Member Functions | |
| virtual | ~Node () |
| bool | hasTagName (const QualifiedName &) const |
| virtual String | nodeName () const =0 |
| virtual String | nodeValue () const |
| virtual void | setNodeValue (const String &, ExceptionCode &) |
| virtual NodeType | nodeType () const =0 |
| Node * | parentNode () const |
| Element * | parentElement () const |
| Node * | previousSibling () const |
| Node * | nextSibling () const |
| PassRefPtr< NodeList > | childNodes () |
| Node * | firstChild () const |
| Node * | lastChild () const |
| bool | hasAttributes () const |
| NamedNodeMap * | attributes () const |
| virtual KURL | baseURI () const |
| void | getSubresourceURLs (ListHashSet< KURL > &) const |
| virtual bool | insertBefore (PassRefPtr< Node > newChild, Node *refChild, ExceptionCode &, bool shouldLazyAttach=false) |
| virtual bool | replaceChild (PassRefPtr< Node > newChild, Node *oldChild, ExceptionCode &, bool shouldLazyAttach=false) |
| virtual bool | removeChild (Node *child, ExceptionCode &) |
| virtual bool | appendChild (PassRefPtr< Node > newChild, ExceptionCode &, bool shouldLazyAttach=false) |
| void | remove (ExceptionCode &) |
| bool | hasChildNodes () const |
| virtual PassRefPtr< Node > | cloneNode (bool deep)=0 |
| const AtomicString & | localName () const |
| const AtomicString & | namespaceURI () const |
| const AtomicString & | prefix () const |
| virtual void | setPrefix (const AtomicString &, ExceptionCode &) |
| void | normalize () |
| bool | isSameNode (Node *other) const |
| bool | isEqualNode (Node *) const |
| bool | isDefaultNamespace (const AtomicString &namespaceURI) const |
| String | lookupPrefix (const AtomicString &namespaceURI) const |
| String | lookupNamespaceURI (const String &prefix) const |
| String | lookupNamespacePrefix (const AtomicString &namespaceURI, const Element *originalElement) const |
| String | textContent (bool convertBRsToNewlines=false) const |
| void | setTextContent (const String &, ExceptionCode &) |
| Node * | lastDescendant () const |
| Node * | firstDescendant () const |
| bool | isElementNode () const |
| bool | isContainerNode () const |
| bool | isTextNode () const |
| virtual bool | isHTMLElement () const |
| virtual bool | isMediaControlElement () const |
| virtual bool | isStyledElement () const |
| virtual bool | isFrameOwnerElement () const |
| virtual bool | isAttributeNode () const |
| virtual bool | isCommentNode () const |
| virtual bool | isCharacterDataNode () const |
| bool | isDocumentNode () const |
| virtual bool | isShadowNode () const |
| virtual Node * | shadowParentNode () |
| Node * | shadowAncestorNode () |
| Node * | shadowTreeRootNode () |
| bool | isInShadowTree () |
| virtual ContainerNode * | eventParentNode () |
| Node * | enclosingLinkEventParentOrSelf () |
| void | eventAncestors (Vector< RefPtr< ContainerNode > > &ancestors) |
| bool | isBlockFlow () const |
| bool | isBlockFlowOrBlockTable () const |
| void | setPreviousSibling (Node *previous) |
| void | setNextSibling (Node *next) |
| Node * | previousNodeConsideringAtomicNodes () const |
| Node * | nextNodeConsideringAtomicNodes () const |
| Node * | nextLeafNode () const |
| Node * | previousLeafNode () const |
| bool | isEditableBlock () const |
| Element * | enclosingBlockFlowElement () const |
| Element * | enclosingInlineElement () const |
| Element * | rootEditableElement () const |
| bool | inSameContainingBlockFlowElement (Node *) |
| virtual ContainerNode * | addChild (PassRefPtr< Node >) |
| virtual void | finishParsingChildren () |
| virtual void | beginParsingChildren () |
| virtual void | aboutToUnload () |
| virtual bool | sheetLoaded () |
| bool | hasID () const |
| bool | hasClass () const |
| bool | active () const |
| bool | inActiveChain () const |
| bool | inDetach () const |
| bool | hovered () const |
| bool | focused () const |
| bool | attached () const |
| void | setAttached (bool b=true) |
| bool | needsStyleRecalc () const |
| StyleChangeType | styleChangeType () const |
| bool | childNeedsStyleRecalc () const |
| bool | isLink () const |
| void | setHasID (bool b=true) |
| void | setHasClass (bool b=true) |
| void | setChildNeedsStyleRecalc (bool b=true) |
| void | setInDocument (bool b=true) |
| void | setInActiveChain (bool b=true) |
| void | setNeedsStyleRecalc (StyleChangeType changeType=FullStyleChange) |
| void | setIsLink (bool b=true) |
| void | lazyAttach () |
| virtual bool | canLazyAttach () |
| virtual void | setFocus (bool b=true) |
| virtual void | setActive (bool b=true, bool=false) |
| virtual void | setHovered (bool b=true) |
| virtual short | tabIndex () const |
| virtual bool | supportsFocus () const |
| virtual bool | isFocusable () const |
| virtual bool | isKeyboardFocusable (KeyboardEvent *) const |
| virtual bool | isMouseFocusable () const |
| virtual bool | isContentEditable () const |
| virtual bool | isContentRichlyEditable () const |
| virtual bool | shouldUseInputMethod () const |
| virtual IntRect | getRect () const |
| virtual void | recalcStyle (StyleChange=NoChange) |
| unsigned | nodeIndex () const |
| virtual Document * | ownerDocument () const |
| Document * | document () const |
| void | setDocument (Document *) |
| bool | inDocument () const |
| bool | isReadOnlyNode () const |
| virtual bool | childTypeAllowed (NodeType) |
| unsigned | childNodeCount () const |
| Node * | childNode (unsigned index) const |
| Node * | traverseNextNode (const Node *stayWithin=0) const |
| Node * | traverseNextSibling (const Node *stayWithin=0) const |
| Node * | traversePreviousNode (const Node *stayWithin=0) const |
| Node * | traverseNextNodePostOrder () const |
| Node * | traversePreviousNodePostOrder (const Node *stayWithin=0) const |
| Node * | traversePreviousSiblingPostOrder (const Node *stayWithin=0) const |
| Node * | previousEditable () const |
| Node * | nextEditable () const |
| RenderObject * | renderer () const |
| RenderObject * | nextRenderer () |
| RenderObject * | previousRenderer () |
| void | setRenderer (RenderObject *renderer) |
| RenderBox * | renderBox () const |
| RenderBoxModelObject * | renderBoxModelObject () const |
| void | checkSetPrefix (const AtomicString &prefix, ExceptionCode &) |
| bool | isDescendantOf (const Node *) const |
| bool | contains (const Node *) const |
| void | checkAddChild (Node *newChild, ExceptionCode &) |
| virtual bool | childAllowed (Node *newChild) |
| void | checkReplaceChild (Node *newChild, Node *oldChild, ExceptionCode &) |
| virtual bool | canReplaceChild (Node *newChild, Node *oldChild) |
| virtual bool | offsetInCharacters () const |
| virtual int | maxCharacterOffset () const |
| virtual bool | canSelectAll () const |
| virtual void | selectAll () |
| virtual bool | canStartSelection () const |
| FloatPoint | convertToPage (const FloatPoint &p) const |
| FloatPoint | convertFromPage (const FloatPoint &p) const |
| virtual void | attach () |
| virtual void | detach () |
| virtual void | willRemove () |
| void | createRendererIfNeeded () |
| PassRefPtr< RenderStyle > | styleForRenderer () |
| virtual bool | rendererIsNeeded (RenderStyle *) |
| virtual RenderObject * | createRenderer (RenderArena *, RenderStyle *) |
| RenderStyle * | renderStyle () const |
| virtual void | setRenderStyle (PassRefPtr< RenderStyle >) |
| virtual RenderStyle * | computedStyle () |
| virtual void | insertedIntoDocument () |
| virtual void | removedFromDocument () |
| virtual void | insertedIntoTree (bool) |
| virtual void | removedFromTree (bool) |
| virtual void | childrenChanged (bool=false, Node *=0, Node *=0, int=0) |
| virtual void | formatForDebugger (char *buffer, unsigned length) const |
| void | showNode (const char *prefix="") const |
| void | showTreeForThis () const |
| void | showTreeAndMark (const Node *markedNode1, const char *markedLabel1, const Node *markedNode2=0, const char *markedLabel2=0) const |
| void | registerDynamicNodeList (DynamicNodeList *) |
| void | unregisterDynamicNodeList (DynamicNodeList *) |
| void | notifyNodeListsChildrenChanged () |
| void | notifyLocalNodeListsChildrenChanged () |
| void | notifyNodeListsAttributeChanged () |
| void | notifyLocalNodeListsAttributeChanged () |
| PassRefPtr< NodeList > | getElementsByTagName (const String &) |
| PassRefPtr< NodeList > | getElementsByTagNameNS (const AtomicString &namespaceURI, const String &localName) |
| PassRefPtr< NodeList > | getElementsByName (const String &elementName) |
| PassRefPtr< NodeList > | getElementsByClassName (const String &classNames) |
| PassRefPtr< Element > | querySelector (const String &selectors, ExceptionCode &) |
| PassRefPtr< NodeList > | querySelectorAll (const String &selectors, ExceptionCode &) |
| unsigned short | compareDocumentPosition (Node *) |
| virtual Node * | toNode () |
| virtual ScriptExecutionContext * | scriptExecutionContext () const |
| virtual bool | addEventListener (const AtomicString &eventType, PassRefPtr< EventListener >, bool useCapture) |
| virtual bool | removeEventListener (const AtomicString &eventType, EventListener *, bool useCapture) |
| virtual void * | preDispatchEventHandler (Event *) |
| virtual void | postDispatchEventHandler (Event *, void *) |
| virtual bool | dispatchEvent (PassRefPtr< Event >) |
| bool | dispatchGenericEvent (PassRefPtr< Event >) |
| virtual void | handleLocalEvents (Event *) |
| void | dispatchSubtreeModifiedEvent () |
| void | dispatchUIEvent (const AtomicString &eventType, int detail, PassRefPtr< Event > underlyingEvent) |
| bool | dispatchKeyEvent (const PlatformKeyboardEvent &) |
| void | dispatchWheelEvent (PlatformWheelEvent &) |
| bool | dispatchMouseEvent (const PlatformMouseEvent &, const AtomicString &eventType, int clickCount=0, Node *relatedTarget=0) |
| bool | dispatchMouseEvent (const AtomicString &eventType, int button, int clickCount, int pageX, int pageY, int screenX, int screenY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool isSimulated, Node *relatedTarget, PassRefPtr< Event > underlyingEvent) |
| void | dispatchSimulatedMouseEvent (const AtomicString &eventType, PassRefPtr< Event > underlyingEvent) |
| void | dispatchSimulatedClick (PassRefPtr< Event > underlyingEvent, bool sendMouseEvents=false, bool showPressedLook=true) |
| virtual void | dispatchFocusEvent () |
| virtual void | dispatchBlurEvent () |
| virtual void | defaultEventHandler (Event *) |
| virtual bool | disabled () const |
| virtual EventTargetData * | eventTargetData () |
| virtual EventTargetData * | ensureEventTargetData () |
Static Public Member Functions | |
| static bool | isSupported (const String &feature, const String &version) |
| static void | startIgnoringLeaks () |
| static void | stopIgnoringLeaks () |
| static void | dumpStatistics () |
| static StyleChange | diff (const RenderStyle *, const RenderStyle *) |
| static bool | isSVGElement () |
| static bool | isWMLElement () |
| static bool | isMathMLElement () |
Protected Types | |
| enum | ConstructionType { CreateContainer, CreateElement, CreateOther, CreateText, CreateElementZeroRefCount } |
Protected Member Functions | |
| Node (Document *, ConstructionType) | |
| virtual void | willMoveToNewOwnerDocument () |
| virtual void | didMoveToNewOwnerDocument () |
| virtual void | addSubresourceAttributeURLs (ListHashSet< KURL > &) const |
| void | setTabIndexExplicitly (short) |
| bool | hasRareData () const |
| NodeRareData * | rareData () const |
| NodeRareData * | ensureRareData () |
Protected Attributes | |
| bool | m_parsingChildrenFinished: 1 |
| bool | m_isStyleAttributeValid: 1 |
| bool | m_synchronizingStyleAttribute: 1 |
Private Member Functions | |
| virtual void | refEventTarget () |
| virtual void | derefEventTarget () |
| void | removeAllEventListenersSlowCase () |
| virtual NodeRareData * | createRareData () |
| Node * | containerChildNode (unsigned index) const |
| unsigned | containerChildNodeCount () const |
| Node * | containerFirstChild () const |
| Node * | containerLastChild () const |
| bool | rareDataFocused () const |
| virtual RenderStyle * | nonRendererRenderStyle () const |
| virtual const AtomicString & | virtualPrefix () const |
| virtual const AtomicString & | virtualLocalName () const |
| virtual const AtomicString & | virtualNamespaceURI () const |
| Element * | ancestorElement () const |
| void | appendTextContent (bool convertBRsToNewlines, StringBuilder &) const |
Static Private Member Functions | |
| static bool | initialRefCount (ConstructionType) |
| static bool | isContainer (ConstructionType) |
| static bool | isElement (ConstructionType) |
| static bool | isText (ConstructionType) |
Private Attributes | |
| Document * | m_document |
| Node * | m_previous |
| Node * | m_next |
| RenderObject * | m_renderer |
| unsigned | m_styleChange: 2 |
| bool | m_hasId: 1 |
| bool | m_hasClass: 1 |
| bool | m_attached: 1 |
| bool | m_childNeedsStyleRecalc: 1 |
| bool | m_inDocument: 1 |
| bool | m_isLink: 1 |
| bool | m_active: 1 |
| bool | m_hovered: 1 |
| bool | m_inActiveChain: 1 |
| bool | m_inDetach: 1 |
| bool | m_hasRareData: 1 |
| const bool | m_isElement: 1 |
| const bool | m_isContainer: 1 |
| const bool | m_isText: 1 |
Friends | |
| class | Document |
Definition at line 80 of file Node.h.
enum WebCore::Node::ConstructionType [protected] |
| virtual WebCore::Node::~Node | ( | ) | [virtual] |
| WebCore::Node::Node | ( | Document * | , | |
| ConstructionType | ||||
| ) | [protected] |
| virtual void WebCore::Node::aboutToUnload | ( | ) | [inline, virtual] |
| bool WebCore::Node::active | ( | ) | const [inline] |
| virtual ContainerNode* WebCore::Node::addChild | ( | PassRefPtr< Node > | ) | [virtual] |
| virtual bool WebCore::Node::addEventListener | ( | const AtomicString & | eventType, | |
| PassRefPtr< EventListener > | , | |||
| bool | useCapture | |||
| ) | [virtual] |
| virtual void WebCore::Node::addSubresourceAttributeURLs | ( | ListHashSet< KURL > & | ) | const [inline, protected, virtual] |
| Element* WebCore::Node::ancestorElement | ( | ) | const [private] |
| virtual bool WebCore::Node::appendChild | ( | PassRefPtr< Node > | newChild, | |
| ExceptionCode & | , | |||
| bool | shouldLazyAttach = false | |||
| ) | [virtual] |
| void WebCore::Node::appendTextContent | ( | bool | convertBRsToNewlines, | |
| StringBuilder & | ||||
| ) | const [private] |
| virtual void WebCore::Node::attach | ( | ) | [virtual] |
Attaches this node to the rendering tree. This calculates the style to be applied to the node and creates an appropriate RenderObject which will be inserted into the tree (except when the style has display: none). This makes the node visible in the FrameView.
| bool WebCore::Node::attached | ( | ) | const [inline] |
Definition at line 277 of file Node.h.
References m_attached.
| NamedNodeMap* WebCore::Node::attributes | ( | ) | const |
| virtual KURL WebCore::Node::baseURI | ( | ) | const [virtual] |
| virtual void WebCore::Node::beginParsingChildren | ( | ) | [inline, virtual] |
| virtual bool WebCore::Node::canLazyAttach | ( | ) | [virtual] |
| virtual bool WebCore::Node::canSelectAll | ( | ) | const [inline, virtual] |
| virtual bool WebCore::Node::canStartSelection | ( | ) | const [virtual] |
| void WebCore::Node::checkAddChild | ( | Node * | newChild, | |
| ExceptionCode & | ||||
| ) |
| void WebCore::Node::checkReplaceChild | ( | Node * | newChild, | |
| Node * | oldChild, | |||
| ExceptionCode & | ||||
| ) |
| void WebCore::Node::checkSetPrefix | ( | const AtomicString & | prefix, | |
| ExceptionCode & | ||||
| ) |
| virtual bool WebCore::Node::childAllowed | ( | Node * | newChild | ) | [virtual] |
| bool WebCore::Node::childNeedsStyleRecalc | ( | ) | const [inline] |
Definition at line 281 of file Node.h.
References m_childNeedsStyleRecalc.
| Node* WebCore::Node::childNode | ( | unsigned | index | ) | const [inline] |
Definition at line 342 of file Node.h.
References containerChildNode(), and isContainerNode().

| unsigned WebCore::Node::childNodeCount | ( | ) | const [inline] |
Definition at line 341 of file Node.h.
References containerChildNodeCount(), and isContainerNode().

| PassRefPtr<NodeList> WebCore::Node::childNodes | ( | ) |
| virtual bool WebCore::Node::childTypeAllowed | ( | NodeType | ) | [inline, virtual] |
| virtual PassRefPtr<Node> WebCore::Node::cloneNode | ( | bool | deep | ) | [pure virtual] |
| unsigned short WebCore::Node::compareDocumentPosition | ( | Node * | ) |
| virtual RenderStyle* WebCore::Node::computedStyle | ( | ) | [virtual] |
| Node* WebCore::Node::containerChildNode | ( | unsigned | index | ) | const [private] |
| unsigned WebCore::Node::containerChildNodeCount | ( | ) | const [private] |
| Node* WebCore::Node::containerFirstChild | ( | ) | const [private] |
| Node* WebCore::Node::containerLastChild | ( | ) | const [private] |
| bool WebCore::Node::contains | ( | const Node * | ) | const |
| FloatPoint WebCore::Node::convertFromPage | ( | const FloatPoint & | p | ) | const |
| FloatPoint WebCore::Node::convertToPage | ( | const FloatPoint & | p | ) | const |
| virtual NodeRareData* WebCore::Node::createRareData | ( | ) | [private, virtual] |
| virtual RenderObject* WebCore::Node::createRenderer | ( | RenderArena * | , | |
| RenderStyle * | ||||
| ) | [virtual] |
| void WebCore::Node::createRendererIfNeeded | ( | ) |
| virtual void WebCore::Node::defaultEventHandler | ( | Event * | ) | [virtual] |
Perform the default action for an event e.g. submitting a form
| virtual void WebCore::Node::derefEventTarget | ( | ) | [inline, private, virtual] |
| virtual void WebCore::Node::detach | ( | ) | [virtual] |
Detaches the node from the rendering tree, making it invisible in the rendered view. This method will remove the node's rendering object from the rendering tree and delete it.
| virtual void WebCore::Node::didMoveToNewOwnerDocument | ( | ) | [protected, virtual] |
| static StyleChange WebCore::Node::diff | ( | const RenderStyle * | , | |
| const RenderStyle * | ||||
| ) | [static] |
| virtual bool WebCore::Node::disabled | ( | ) | const [virtual] |
Used for disabled form elements; if true, prevents mouse events from being dispatched to event listeners, and prevents DOMActivate events from being sent at all.
| virtual void WebCore::Node::dispatchBlurEvent | ( | ) | [virtual] |
| virtual bool WebCore::Node::dispatchEvent | ( | PassRefPtr< Event > | ) | [virtual] |
| virtual void WebCore::Node::dispatchFocusEvent | ( | ) | [virtual] |
| bool WebCore::Node::dispatchGenericEvent | ( | PassRefPtr< Event > | ) |
| bool WebCore::Node::dispatchKeyEvent | ( | const PlatformKeyboardEvent & | ) |
| bool WebCore::Node::dispatchMouseEvent | ( | const AtomicString & | eventType, | |
| int | button, | |||
| int | clickCount, | |||
| int | pageX, | |||
| int | pageY, | |||
| int | screenX, | |||
| int | screenY, | |||
| bool | ctrlKey, | |||
| bool | altKey, | |||
| bool | shiftKey, | |||
| bool | metaKey, | |||
| bool | isSimulated, | |||
| Node * | relatedTarget, | |||
| PassRefPtr< Event > | underlyingEvent | |||
| ) |
| bool WebCore::Node::dispatchMouseEvent | ( | const PlatformMouseEvent & | , | |
| const AtomicString & | eventType, | |||
| int | clickCount = 0, |
|||
| Node * | relatedTarget = 0 | |||
| ) |
| void WebCore::Node::dispatchSimulatedClick | ( | PassRefPtr< Event > | underlyingEvent, | |
| bool | sendMouseEvents = false, |
|||
| bool | showPressedLook = true | |||
| ) |
| void WebCore::Node::dispatchSimulatedMouseEvent | ( | const AtomicString & | eventType, | |
| PassRefPtr< Event > | underlyingEvent | |||
| ) |
| void WebCore::Node::dispatchSubtreeModifiedEvent | ( | ) |
| void WebCore::Node::dispatchUIEvent | ( | const AtomicString & | eventType, | |
| int | detail, | |||
| PassRefPtr< Event > | underlyingEvent | |||
| ) |
| void WebCore::Node::dispatchWheelEvent | ( | PlatformWheelEvent & | ) |
| Document* WebCore::Node::document | ( | ) | const [inline] |
Definition at line 323 of file Node.h.
References DOCUMENT_TYPE_NODE, inDocument(), m_document, and nodeType().

| static void WebCore::Node::dumpStatistics | ( | ) | [static] |
| Element* WebCore::Node::enclosingBlockFlowElement | ( | ) | const |
| Element* WebCore::Node::enclosingInlineElement | ( | ) | const |
| Node* WebCore::Node::enclosingLinkEventParentOrSelf | ( | ) |
| virtual EventTargetData* WebCore::Node::ensureEventTargetData | ( | ) | [virtual] |
| NodeRareData* WebCore::Node::ensureRareData | ( | ) | [protected] |
| void WebCore::Node::eventAncestors | ( | Vector< RefPtr< ContainerNode > > & | ancestors | ) |
| virtual ContainerNode* WebCore::Node::eventParentNode | ( | ) | [virtual] |
| virtual EventTargetData* WebCore::Node::eventTargetData | ( | ) | [virtual] |
| virtual void WebCore::Node::finishParsingChildren | ( | ) | [inline, virtual] |
| Node* WebCore::Node::firstChild | ( | ) | const [inline] |
Definition at line 123 of file Node.h.
References containerFirstChild(), and isContainerNode().

| Node* WebCore::Node::firstDescendant | ( | ) | const |
| bool WebCore::Node::focused | ( | ) | const [inline] |
Definition at line 276 of file Node.h.
References hasRareData(), and rareDataFocused().

| virtual void WebCore::Node::formatForDebugger | ( | char * | buffer, | |
| unsigned | length | |||
| ) | const [virtual] |
| PassRefPtr<NodeList> WebCore::Node::getElementsByClassName | ( | const String & | classNames | ) |
| PassRefPtr<NodeList> WebCore::Node::getElementsByName | ( | const String & | elementName | ) |
| PassRefPtr<NodeList> WebCore::Node::getElementsByTagName | ( | const String & | ) |
| PassRefPtr<NodeList> WebCore::Node::getElementsByTagNameNS | ( | const AtomicString & | namespaceURI, | |
| const String & | localName | |||
| ) |
| virtual IntRect WebCore::Node::getRect | ( | ) | const [virtual] |
| void WebCore::Node::getSubresourceURLs | ( | ListHashSet< KURL > & | ) | const |
| virtual void WebCore::Node::handleLocalEvents | ( | Event * | ) | [virtual] |
| bool WebCore::Node::hasAttributes | ( | ) | const |
| bool WebCore::Node::hasChildNodes | ( | ) | const [inline] |
Definition at line 141 of file Node.h.
References firstChild().

| bool WebCore::Node::hasClass | ( | ) | const [inline] |
Definition at line 271 of file Node.h.
References m_hasClass.
| bool WebCore::Node::hasID | ( | ) | const [inline] |
| bool WebCore::Node::hasRareData | ( | ) | const [inline, protected] |
Definition at line 573 of file Node.h.
References m_hasRareData.
| bool WebCore::Node::hasTagName | ( | const QualifiedName & | ) | const |
| bool WebCore::Node::hovered | ( | ) | const [inline] |
| bool WebCore::Node::inActiveChain | ( | ) | const [inline] |
Definition at line 273 of file Node.h.
References m_inActiveChain.
| bool WebCore::Node::inDetach | ( | ) | const [inline] |
Definition at line 274 of file Node.h.
References m_inDetach.
| bool WebCore::Node::inDocument | ( | ) | const [inline] |
Definition at line 333 of file Node.h.
References m_document, and m_inDocument.
| static bool WebCore::Node::initialRefCount | ( | ConstructionType | ) | [static, private] |
| bool WebCore::Node::inSameContainingBlockFlowElement | ( | Node * | ) |
| virtual bool WebCore::Node::insertBefore | ( | PassRefPtr< Node > | newChild, | |
| Node * | refChild, | |||
| ExceptionCode & | , | |||
| bool | shouldLazyAttach = false | |||
| ) | [virtual] |
| virtual void WebCore::Node::insertedIntoDocument | ( | ) | [virtual] |
Notifies the node that it has been inserted into the document. This is called during document parsing, and also when a node is added through the DOM methods insertBefore(), appendChild() or replaceChild(). Note that this only happens when the node becomes part of the document tree, i.e. only when the document is actually an ancestor of the node. The call happens _after_ the node has been added to the tree.
This is similar to the DOMNodeInsertedIntoDocument DOM event, but does not require the overhead of event dispatching.
| virtual void WebCore::Node::insertedIntoTree | ( | bool | ) | [inline, virtual] |
| virtual bool WebCore::Node::isAttributeNode | ( | ) | const [inline, virtual] |
| bool WebCore::Node::isBlockFlow | ( | ) | const |
| bool WebCore::Node::isBlockFlowOrBlockTable | ( | ) | const |
| virtual bool WebCore::Node::isCharacterDataNode | ( | ) | const [inline, virtual] |
| virtual bool WebCore::Node::isCommentNode | ( | ) | const [inline, virtual] |
| static bool WebCore::Node::isContainer | ( | ConstructionType | ) | [static, private] |
| bool WebCore::Node::isContainerNode | ( | ) | const [inline] |
Definition at line 165 of file Node.h.
References m_isContainer.
| virtual bool WebCore::Node::isContentEditable | ( | ) | const [virtual] |
| virtual bool WebCore::Node::isContentRichlyEditable | ( | ) | const [virtual] |
| bool WebCore::Node::isDefaultNamespace | ( | const AtomicString & | namespaceURI | ) | const |
| bool WebCore::Node::isDescendantOf | ( | const Node * | ) | const |
| bool WebCore::Node::isDocumentNode | ( | ) | const |
| bool WebCore::Node::isEditableBlock | ( | ) | const |
| static bool WebCore::Node::isElement | ( | ConstructionType | ) | [static, private] |
| bool WebCore::Node::isElementNode | ( | ) | const [inline] |
Definition at line 164 of file Node.h.
References m_isElement.
| bool WebCore::Node::isEqualNode | ( | Node * | ) | const |
| virtual bool WebCore::Node::isFocusable | ( | ) | const [virtual] |
| virtual bool WebCore::Node::isFrameOwnerElement | ( | ) | const [inline, virtual] |
| virtual bool WebCore::Node::isHTMLElement | ( | ) | const [inline, virtual] |
| bool WebCore::Node::isInShadowTree | ( | ) |
| virtual bool WebCore::Node::isKeyboardFocusable | ( | KeyboardEvent * | ) | const [virtual] |
| bool WebCore::Node::isLink | ( | ) | const [inline] |
| static bool WebCore::Node::isMathMLElement | ( | ) | [inline, static] |
| virtual bool WebCore::Node::isMediaControlElement | ( | ) | const [inline, virtual] |
| virtual bool WebCore::Node::isMouseFocusable | ( | ) | const [virtual] |
| bool WebCore::Node::isReadOnlyNode | ( | ) | const [inline] |
Definition at line 339 of file Node.h.
References ENTITY_REFERENCE_NODE, and nodeType().

| bool WebCore::Node::isSameNode | ( | Node * | other | ) | const [inline] |
| virtual bool WebCore::Node::isShadowNode | ( | ) | const [inline, virtual] |
| virtual bool WebCore::Node::isStyledElement | ( | ) | const [inline, virtual] |
| static bool WebCore::Node::isSupported | ( | const String & | feature, | |
| const String & | version | |||
| ) | [static] |
| static bool WebCore::Node::isText | ( | ConstructionType | ) | [static, private] |
| bool WebCore::Node::isTextNode | ( | ) | const [inline] |
| Node* WebCore::Node::lastChild | ( | ) | const [inline] |
Definition at line 124 of file Node.h.
References containerLastChild(), and isContainerNode().

| Node* WebCore::Node::lastDescendant | ( | ) | const |
| void WebCore::Node::lazyAttach | ( | ) |
| const AtomicString& WebCore::Node::localName | ( | ) | const [inline] |
Definition at line 143 of file Node.h.
References virtualLocalName().

| String WebCore::Node::lookupNamespacePrefix | ( | const AtomicString & | namespaceURI, | |
| const Element * | originalElement | |||
| ) | const |
| String WebCore::Node::lookupNamespaceURI | ( | const String & | prefix | ) | const |
| String WebCore::Node::lookupPrefix | ( | const AtomicString & | namespaceURI | ) | const |
| virtual int WebCore::Node::maxCharacterOffset | ( | ) | const [virtual] |
| const AtomicString& WebCore::Node::namespaceURI | ( | ) | const [inline] |
Definition at line 144 of file Node.h.
References virtualNamespaceURI().

| bool WebCore::Node::needsStyleRecalc | ( | ) | const [inline] |
Definition at line 279 of file Node.h.
References m_styleChange, and WebCore::NoStyleChange.
| Node* WebCore::Node::nextEditable | ( | ) | const |
| Node* WebCore::Node::nextLeafNode | ( | ) | const |
(Not part of the official DOM) Returns the next leaf node.
Using this function delivers leaf nodes as if the whole DOM tree were a linear chain of its leaf nodes.
| Node* WebCore::Node::nextNodeConsideringAtomicNodes | ( | ) | const |
| RenderObject* WebCore::Node::nextRenderer | ( | ) |
| Node* WebCore::Node::nextSibling | ( | ) | const [inline] |
| unsigned WebCore::Node::nodeIndex | ( | ) | const |
| virtual String WebCore::Node::nodeName | ( | ) | const [pure virtual] |
| virtual NodeType WebCore::Node::nodeType | ( | ) | const [pure virtual] |
| virtual String WebCore::Node::nodeValue | ( | ) | const [virtual] |
| virtual RenderStyle* WebCore::Node::nonRendererRenderStyle | ( | ) | const [private, virtual] |
| void WebCore::Node::normalize | ( | ) |
| void WebCore::Node::notifyLocalNodeListsAttributeChanged | ( | ) |
| void WebCore::Node::notifyLocalNodeListsChildrenChanged | ( | ) |
| void WebCore::Node::notifyNodeListsAttributeChanged | ( | ) |
| void WebCore::Node::notifyNodeListsChildrenChanged | ( | ) |
| virtual bool WebCore::Node::offsetInCharacters | ( | ) | const [virtual] |
| virtual Document* WebCore::Node::ownerDocument | ( | ) | const [virtual] |
| Element* WebCore::Node::parentElement | ( | ) | const |
| virtual void WebCore::Node::postDispatchEventHandler | ( | Event * | , | |
| void * | ||||
| ) | [inline, virtual] |
| virtual void* WebCore::Node::preDispatchEventHandler | ( | Event * | ) | [inline, virtual] |
| const AtomicString& WebCore::Node::prefix | ( | ) | const [inline] |
Definition at line 145 of file Node.h.
References virtualPrefix().

| Node* WebCore::Node::previousEditable | ( | ) | const |
Finds previous or next editable leaf node.
| Node* WebCore::Node::previousLeafNode | ( | ) | const |
(Not part of the official DOM) Returns the previous leaf node.
Using this function delivers leaf nodes as if the whole DOM tree were a linear chain of its leaf nodes.
| Node* WebCore::Node::previousNodeConsideringAtomicNodes | ( | ) | const |
| RenderObject* WebCore::Node::previousRenderer | ( | ) |
| Node* WebCore::Node::previousSibling | ( | ) | const [inline] |
Definition at line 120 of file Node.h.
References m_previous.
| PassRefPtr<Element> WebCore::Node::querySelector | ( | const String & | selectors, | |
| ExceptionCode & | ||||
| ) |
| PassRefPtr<NodeList> WebCore::Node::querySelectorAll | ( | const String & | selectors, | |
| ExceptionCode & | ||||
| ) |
| NodeRareData* WebCore::Node::rareData | ( | ) | const [protected] |
| bool WebCore::Node::rareDataFocused | ( | ) | const [private] |
| virtual void WebCore::Node::recalcStyle | ( | StyleChange | = NoChange |
) | [inline, virtual] |
| virtual void WebCore::Node::refEventTarget | ( | ) | [inline, private, virtual] |
| void WebCore::Node::registerDynamicNodeList | ( | DynamicNodeList * | ) |
| void WebCore::Node::remove | ( | ExceptionCode & | ) |
| void WebCore::Node::removeAllEventListenersSlowCase | ( | ) | [private] |
| virtual bool WebCore::Node::removeChild | ( | Node * | child, | |
| ExceptionCode & | ||||
| ) | [virtual] |
| virtual void WebCore::Node::removedFromDocument | ( | ) | [virtual] |
Notifies the node that it is no longer part of the document tree, i.e. when the document is no longer an ancestor node.
This is similar to the DOMNodeRemovedFromDocument DOM event, but does not require the overhead of event dispatching, and is called _after_ the node is removed from the tree.
| virtual void WebCore::Node::removedFromTree | ( | bool | ) | [inline, virtual] |
| virtual bool WebCore::Node::removeEventListener | ( | const AtomicString & | eventType, | |
| EventListener * | , | |||
| bool | useCapture | |||
| ) | [virtual] |
| RenderBox* WebCore::Node::renderBox | ( | ) | const |
| RenderBoxModelObject* WebCore::Node::renderBoxModelObject | ( | ) | const |
| RenderObject* WebCore::Node::renderer | ( | ) | const [inline] |
Definition at line 380 of file Node.h.
References m_renderer.
| virtual bool WebCore::Node::rendererIsNeeded | ( | RenderStyle * | ) | [virtual] |
| RenderStyle* WebCore::Node::renderStyle | ( | ) | const |
| virtual bool WebCore::Node::replaceChild | ( | PassRefPtr< Node > | newChild, | |
| Node * | oldChild, | |||
| ExceptionCode & | , | |||
| bool | shouldLazyAttach = false | |||
| ) | [virtual] |
| Element* WebCore::Node::rootEditableElement | ( | ) | const |
| virtual ScriptExecutionContext* WebCore::Node::scriptExecutionContext | ( | ) | const [virtual] |
| virtual void WebCore::Node::setActive | ( | bool | b = true, |
|
| bool | = false | |||
| ) | [inline, virtual] |
| void WebCore::Node::setAttached | ( | bool | b = true |
) | [inline] |
Definition at line 278 of file Node.h.
References m_attached.
| void WebCore::Node::setChildNeedsStyleRecalc | ( | bool | b = true |
) | [inline] |
Definition at line 285 of file Node.h.
References m_childNeedsStyleRecalc.
| void WebCore::Node::setDocument | ( | Document * | ) |
| virtual void WebCore::Node::setFocus | ( | bool | b = true |
) | [virtual] |
| void WebCore::Node::setHasClass | ( | bool | b = true |
) | [inline] |
Definition at line 284 of file Node.h.
References m_hasClass.
| void WebCore::Node::setHasID | ( | bool | b = true |
) | [inline] |
| virtual void WebCore::Node::setHovered | ( | bool | b = true |
) | [inline, virtual] |
| void WebCore::Node::setInActiveChain | ( | bool | b = true |
) | [inline] |
Definition at line 287 of file Node.h.
References m_inActiveChain.
| void WebCore::Node::setInDocument | ( | bool | b = true |
) | [inline] |
Definition at line 286 of file Node.h.
References m_inDocument.
| void WebCore::Node::setIsLink | ( | bool | b = true |
) | [inline] |
| void WebCore::Node::setNeedsStyleRecalc | ( | StyleChangeType | changeType = FullStyleChange |
) |
| void WebCore::Node::setNextSibling | ( | Node * | next | ) | [inline] |
| virtual void WebCore::Node::setNodeValue | ( | const String & | , | |
| ExceptionCode & | ||||
| ) | [virtual] |
| virtual void WebCore::Node::setPrefix | ( | const AtomicString & | , | |
| ExceptionCode & | ||||
| ) | [virtual] |
| void WebCore::Node::setPreviousSibling | ( | Node * | previous | ) | [inline] |
Definition at line 215 of file Node.h.
References m_previous.
| void WebCore::Node::setRenderer | ( | RenderObject * | renderer | ) | [inline] |
Definition at line 383 of file Node.h.
References m_renderer.
| virtual void WebCore::Node::setRenderStyle | ( | PassRefPtr< RenderStyle > | ) | [virtual] |
| void WebCore::Node::setTabIndexExplicitly | ( | short | ) | [protected] |
| void WebCore::Node::setTextContent | ( | const String & | , | |
| ExceptionCode & | ||||
| ) |
| Node* WebCore::Node::shadowAncestorNode | ( | ) |
| virtual Node* WebCore::Node::shadowParentNode | ( | ) | [inline, virtual] |
| Node* WebCore::Node::shadowTreeRootNode | ( | ) |
| virtual bool WebCore::Node::sheetLoaded | ( | ) | [inline, virtual] |
| virtual bool WebCore::Node::shouldUseInputMethod | ( | ) | const [virtual] |
| void WebCore::Node::showNode | ( | const char * | prefix = "" |
) | const |
| void WebCore::Node::showTreeAndMark | ( | const Node * | markedNode1, | |
| const char * | markedLabel1, | |||
| const Node * | markedNode2 = 0, |
|||
| const char * | markedLabel2 = 0 | |||
| ) | const |
| void WebCore::Node::showTreeForThis | ( | ) | const |
| static void WebCore::Node::startIgnoringLeaks | ( | ) | [static] |
| static void WebCore::Node::stopIgnoringLeaks | ( | ) | [static] |
| StyleChangeType WebCore::Node::styleChangeType | ( | ) | const [inline] |
Definition at line 280 of file Node.h.
References m_styleChange.
| PassRefPtr<RenderStyle> WebCore::Node::styleForRenderer | ( | ) |
| virtual bool WebCore::Node::supportsFocus | ( | ) | const [virtual] |
| virtual short WebCore::Node::tabIndex | ( | ) | const [virtual] |
| String WebCore::Node::textContent | ( | bool | convertBRsToNewlines = false |
) | const |
Does a pre-order traversal of the tree to find the node next node after this one. This uses the same order that the tags appear in the source file.
| stayWithin | If not null, the traversal will stop once the specified node is reached. This can be used to restrict traversal to a particular sub-tree. |
| Node* WebCore::Node::traverseNextNodePostOrder | ( | ) | const |
Does a reverse pre-order traversal to find the node that comes before the current one in document order
| void WebCore::Node::unregisterDynamicNodeList | ( | DynamicNodeList * | ) |
| virtual const AtomicString& WebCore::Node::virtualLocalName | ( | ) | const [private, virtual] |
| virtual const AtomicString& WebCore::Node::virtualNamespaceURI | ( | ) | const [private, virtual] |
| virtual const AtomicString& WebCore::Node::virtualPrefix | ( | ) | const [private, virtual] |
| virtual void WebCore::Node::willMoveToNewOwnerDocument | ( | ) | [protected, virtual] |
| virtual void WebCore::Node::willRemove | ( | ) | [virtual] |
bool WebCore::Node::m_active [private] |
bool WebCore::Node::m_attached [private] |
bool WebCore::Node::m_childNeedsStyleRecalc [private] |
Document* WebCore::Node::m_document [private] |
bool WebCore::Node::m_hasClass [private] |
bool WebCore::Node::m_hasId [private] |
bool WebCore::Node::m_hasRareData [private] |
bool WebCore::Node::m_hovered [private] |
bool WebCore::Node::m_inActiveChain [private] |
bool WebCore::Node::m_inDetach [private] |
bool WebCore::Node::m_inDocument [private] |
const bool WebCore::Node::m_isContainer [private] |
const bool WebCore::Node::m_isElement [private] |
bool WebCore::Node::m_isLink [private] |
bool WebCore::Node::m_isStyleAttributeValid [mutable, protected] |
const bool WebCore::Node::m_isText [private] |
Node* WebCore::Node::m_next [private] |
bool WebCore::Node::m_parsingChildrenFinished [protected] |
Node* WebCore::Node::m_previous [private] |
RenderObject* WebCore::Node::m_renderer [private] |
unsigned WebCore::Node::m_styleChange [private] |
bool WebCore::Node::m_synchronizingStyleAttribute [mutable, protected] |
1.6.2-20100208