webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Instance Methods | Properties | List of all members
DOMNode Class Reference

#import <DOMNode.h>

Inheritance diagram for DOMNode:
DOMObject WebScriptObject IDOMObject WebScriptObject IDOMObject WebScriptObject NSObject NSObject IWebScriptObject IWebScriptObject IWebScriptObject NSObject NSObject IWebScriptObject IWebScriptObject IWebScriptObject NSObject NSObject IWebScriptObject IWebScriptObject DOMAttr DOMCharacterData DOMDocument DOMDocument DOMDocumentFragment DOMDocumentType DOMElement DOMElement DOMEntity DOMEntityReference

Instance Methods

(NSString *baseURI) - WEBKIT_AVAILABLE_MAC
 
(NSString *textContent) - WEBKIT_AVAILABLE_MAC
 
(DOMElement *parentElement) - WEBKIT_AVAILABLE_MAC
 
(BOOL isContentEditable) - WEBKIT_AVAILABLE_MAC
 
(DOMNode *) - insertBefore:refChild:
 
(DOMNode *) - replaceChild:oldChild:
 
(DOMNode *) - removeChild:
 
(DOMNode *) - appendChild:
 
(BOOL- hasChildNodes
 
(DOMNode *) - cloneNode:
 
(void- normalize
 
(BOOL- isSupported:version:
 
(BOOL- hasAttributes
 
(BOOL- isSameNode:
 
(BOOL- isEqualNode:
 
(NSString *) - lookupPrefix:
 
(NSString *) - lookupNamespaceURI:
 
(BOOL- isDefaultNamespace:
 
(unsigned short) - compareDocumentPosition:
 
(BOOL- contains:
 
(DOMNode *) - insertBefore::
 
(DOMNode *) - replaceChild::
 
(BOOL- isSupported::
 
(void- inspect
 
(WebVisiblePosition *) - startPosition
 
(WebVisiblePosition *) - endPosition
 
(WebArchive *) - webArchiveByFilteringSubframes:
 
- Instance Methods inherited from DOMObject
(instancetype) - NS_UNAVAILABLE
 
(virtual HRESULT STDMETHODCALLTYPE) - QueryInterface
 
(virtual ULONG STDMETHODCALLTYPE) - AddRef
 
(virtual ULONG STDMETHODCALLTYPE) - Release
 
(virtual HRESULT STDMETHODCALLTYPE) - throwException
 
(virtual HRESULT STDMETHODCALLTYPE) - callWebScriptMethod
 
(virtual HRESULT STDMETHODCALLTYPE) - evaluateWebScript
 
(virtual HRESULT STDMETHODCALLTYPE) - removeWebScriptKey
 
(virtual HRESULT STDMETHODCALLTYPE) - stringRepresentation
 
(virtual HRESULT STDMETHODCALLTYPE) - webScriptValueAtIndex
 
(virtual HRESULT STDMETHODCALLTYPE) - setWebScriptValueAtIndex
 
(virtual HRESULT STDMETHODCALLTYPE) - setException
 
(virtual HRESULT STDMETHODCALLTYPE) - QueryInterface
 
(DOMStyleSheet *sheet) - WEBKIT_AVAILABLE_MAC
 
- Instance Methods inherited from WebScriptObject
(10_5) - WEBKIT_AVAILABLE_MAC
 
(id- callWebScriptMethod:withArguments:
 
(id- evaluateWebScript:
 
(void- removeWebScriptKey:
 
(NSString *) - stringRepresentation
 
(id- webScriptValueAtIndex:
 
(void- setWebScriptValueAtIndex:value:
 
(void- setException:
 
(10_5) - WEBKIT_AVAILABLE_MAC
 
(id- callWebScriptMethod:withArguments:
 
(id- evaluateWebScript:
 
(void- removeWebScriptKey:
 
(NSString *) - stringRepresentation
 
(id- webScriptValueAtIndex:
 
(void- setWebScriptValueAtIndex:value:
 
(void- setException:
 
() - WebScriptObject
 
(virtual) - ~WebScriptObject
 
() - WebScriptObject
 
(virtual) - ~WebScriptObject
 
(virtual HRESULT STDMETHODCALLTYPE) - callWebScriptMethod
 
(id- _init
 
(id- _init
 
(id- _initWithJSObject:originRootObject:rootObject:
 
(id- _initWithJSObject:originRootObject:rootObject:
 
(void- _setImp:originRootObject:rootObject:
 
(void- _setImp:originRootObject:rootObject:
 
(void- _setOriginRootObject:andRootObject:
 
(void- _setOriginRootObject:andRootObject:
 
(void- _initializeScriptDOMNodeImp
 
(void- _initializeScriptDOMNodeImp
 
(JSC::JSObject *) - _imp
 
(JSC::JSObject *) - _imp
 
(BOOL- _hasImp
 
(BOOL- _hasImp
 
(JSC::Bindings::RootObject *) - _rootObject
 
(JSC::Bindings::RootObject *) - _rootObject
 
(JSC::Bindings::RootObject *) - _originRootObject
 
(JSC::Bindings::RootObject *) - _originRootObject
 
(JSGlobalContextRef- _globalContextRef
 
(JSGlobalContextRef- _globalContextRef
 
(BOOL- hasWebScriptKey:
 
(BOOL- hasWebScriptKey:
 
(BOOL- hasWebScriptKey:
 
- Instance Methods inherited from IWebScriptObject
HRESULT throwException ([in] BSTR exceptionMessage, [out, retval] BOOL *result)
 
HRESULT callWebScriptMethod ([in] BSTR name, [in, size_is(cArgs)] const VARIANT args[], [in] int cArgs, [out, retval] VARIANT *result)
 
HRESULT evaluateWebScript ([in] BSTR script, [out, retval] VARIANT *result)
 
HRESULT removeWebScriptKey ([in] BSTR name)
 
HRESULT stringRepresentation ([out, retval] BSTR *stringRepresentation)
 
HRESULT webScriptValueAtIndex ([in] unsigned int index, [out, retval] VARIANT *result)
 
HRESULT setWebScriptValueAtIndex ([in] unsigned int index, [in] VARIANT val)
 
HRESULT setException ([in] BSTR description)
 

Properties

NSStringnodeName
 
NSStringnodeValue
 
unsigned short nodeType
 
DOMNodeparentNode
 
DOMNodeListchildNodes
 
DOMNodefirstChild
 
DOMNodelastChild
 
DOMNodepreviousSibling
 
DOMNodenextSibling
 
DOMDocumentownerDocument
 
NSStringnamespaceURI
 
NSStringprefix
 
NSStringlocalName
 
DOMNamedNodeMapattributes
 
BOOL isConnected
 
WebArchivewebArchive
 

Additional Inherited Members

- Class Methods inherited from WebScriptObject
(BOOL+ throwException:
 
(BOOL+ throwException:
 
(id+ _convertValueToObjcValue:originRootObject:rootObject:
 
(id+ _convertValueToObjcValue:originRootObject:rootObject:
 
(id+ scriptObjectForJSObject:originRootObject:rootObject:
 
(id+ scriptObjectForJSObject:originRootObject:rootObject:
 
- Protected Attributes inherited from DOMObject
package DOMObjectInternal_internal
 
- Protected Attributes inherited from WebScriptObject
WebScriptObjectPrivate_private
 
ULONG m_refCount { 0 }
 

Method Documentation

◆ appendChild:()

- (DOMNode *) appendChild: (DOMNode *)  newChild

◆ cloneNode:()

- (DOMNode *) cloneNode: (BOOL deep

◆ compareDocumentPosition:()

- (unsigned short) compareDocumentPosition: (10_6)  WEBKIT_AVAILABLE_MAC

◆ contains:()

- (BOOL) contains: (10_5)  WEBKIT_AVAILABLE_MAC

◆ endPosition()

- (WebVisiblePosition *) endPosition

Provided by category DOMNode(VisiblePositionExtensions).

◆ hasAttributes()

- (HRESULT) hasAttributes

◆ hasChildNodes()

- (HRESULT) hasChildNodes

◆ insertBefore::()

- (DOMNode *) insertBefore: (DOMNode *)  newChild
: (10_4) 
(10_5)  WEBKIT_DEPRECATED_MAC 

Provided by category DOMNode(DOMNodeDeprecated).

◆ insertBefore:refChild:()

- (DOMNode *) insertBefore: (DOMNode *)  newChild
refChild: (10_5)  WEBKIT_AVAILABLE_MAC 

◆ inspect()

- (void) inspect

Provided by category DOMNode(DOMNodePrivate).

◆ isDefaultNamespace:()

- (BOOL) isDefaultNamespace: (10_5)  WEBKIT_AVAILABLE_MAC

◆ isEqualNode:()

- (BOOL) isEqualNode: (10_5)  WEBKIT_AVAILABLE_MAC

◆ isSameNode:()

- (BOOL) isSameNode: (10_5)  WEBKIT_AVAILABLE_MAC

◆ isSupported::()

- (BOOL) isSupported: (NSString *)  feature
: (10_4) 
(10_5)  WEBKIT_DEPRECATED_MAC 

Provided by category DOMNode(DOMNodeDeprecated).

◆ isSupported:version:()

- (BOOL) isSupported: (NSString *)  feature
version: (10_5)  WEBKIT_AVAILABLE_MAC 

◆ lookupNamespaceURI:()

- (NSString *) lookupNamespaceURI: (10_5)  WEBKIT_AVAILABLE_MAC

◆ lookupPrefix:()

- (NSString *) lookupPrefix: (10_5)  WEBKIT_AVAILABLE_MAC

◆ normalize()

- (HRESULT) normalize

◆ removeChild:()

- (DOMNode *) removeChild: (DOMNode *)  oldChild

◆ replaceChild::()

- (DOMNode *) replaceChild: (DOMNode *)  newChild
: (10_4) 
(10_5)  WEBKIT_DEPRECATED_MAC 

Provided by category DOMNode(DOMNodeDeprecated).

◆ replaceChild:oldChild:()

- (DOMNode *) replaceChild: (DOMNode *)  newChild
oldChild: (10_5)  WEBKIT_AVAILABLE_MAC 

◆ startPosition()

- (WebVisiblePosition *) startPosition

Provided by category DOMNode(VisiblePositionExtensions).

◆ webArchiveByFilteringSubframes:()

- (WebArchive *) webArchiveByFilteringSubframes: (WebArchiveSubframeFilter webArchiveSubframeFilter

Provided by category DOMNode(WebDOMNodeOperationsPrivate).

◆ WEBKIT_AVAILABLE_MAC() [1/4]

- (NSString* baseURI) WEBKIT_AVAILABLE_MAC (10_5) 

◆ WEBKIT_AVAILABLE_MAC() [2/4]

- (NSString* textContent) WEBKIT_AVAILABLE_MAC (10_5) 

◆ WEBKIT_AVAILABLE_MAC() [3/4]

- (DOMElement* parentElement) WEBKIT_AVAILABLE_MAC (10_5) 

◆ WEBKIT_AVAILABLE_MAC() [4/4]

- (BOOL isContentEditable) WEBKIT_AVAILABLE_MAC (10_5) 

Property Documentation

◆ attributes

- (HRESULT) attributes
readatomicstrong

◆ childNodes

- (HRESULT) childNodes
readatomicstrong

◆ firstChild

- (HRESULT) firstChild
readatomicstrong

◆ isConnected

- (BOOL) isConnected
readatomicassign

Provided by category DOMNode(DOMNodePrivate).

◆ lastChild

- (HRESULT) lastChild
readatomicstrong

◆ localName

- (HRESULT) localName
readatomiccopy

◆ namespaceURI

- (HRESULT) namespaceURI
readatomiccopy

◆ nextSibling

- (HRESULT) nextSibling
readatomicstrong

◆ nodeName

- (HRESULT) nodeName
readatomiccopy

◆ nodeType

- (HRESULT) nodeType
readatomicassign

◆ nodeValue

- (HRESULT) nodeValue
readwriteatomiccopy

◆ ownerDocument

- (HRESULT) ownerDocument
readatomicstrong

◆ parentNode

- (HRESULT) parentNode
readatomicstrong

◆ prefix

- (HRESULT) prefix
readwriteatomiccopy

◆ previousSibling

- (HRESULT) previousSibling
readatomicstrong

◆ webArchive

- (WebArchive *) webArchive
readnonatomicstrong

A WebArchive representing the node and the children of the node.

Provided by category DOMNode(WebDOMNodeOperations).


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