webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Public Attributes | Properties | List of all members
DOMTokenList Class Reference

import"DOMTokenList.idl";

Inheritance diagram for DOMTokenList:
DOMObject WebScriptObject IDOMObject WebScriptObject IDOMObject WebScriptObject NSObject NSObject IWebScriptObject IWebScriptObject IWebScriptObject NSObject NSObject IWebScriptObject IWebScriptObject IWebScriptObject NSObject NSObject IWebScriptObject IWebScriptObject

Public Member Functions

getter DOMString item (unsigned long index)
 
boolean contains (DOMString token)
 
void add (DOMString... tokens)
 
void remove (DOMString... tokens)
 
boolean toggle (DOMString token, optional boolean force)
 
void replace (DOMString token, DOMString newToken)
 
boolean supports (DOMString token)
 
NSStringitem: (unsigned index)
 
BOOL contains: (NSString *token)
 
BOOL toggle:force: (NSString *token, [force] BOOL force)
 
- Public Member Functions 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
 
- Public Member Functions 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:
 
- Public Member Functions 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)
 

Public Attributes

readonly attribute unsigned long length
 
 iterable< DOMString >
 
stringifier attribute DOMString value
 

Properties

unsigned length
 
NSStringvalue
 

Additional Inherited Members

- Static Public Member Functions 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 }
 

Member Function Documentation

◆ add()

void DOMTokenList::add ( DOMString...  tokens)

◆ contains()

boolean DOMTokenList::contains ( DOMString  token)

◆ contains:()

BOOL DOMTokenList::contains: ( NSString token)
virtual

◆ item()

getter DOMString DOMTokenList::item ( unsigned long  index)

◆ item:()

NSString * DOMTokenList::item: ( unsigned  index)
virtual

◆ remove()

void DOMTokenList::remove ( DOMString...  tokens)

◆ replace()

void DOMTokenList::replace ( DOMString  token,
DOMString  newToken 
)

◆ supports()

boolean DOMTokenList::supports ( DOMString  token)

◆ toggle()

boolean DOMTokenList::toggle ( DOMString  token,
optional boolean  force 
)

◆ toggle:force:()

BOOL DOMTokenList::toggle:force: ( NSString token,
[force] BOOL  force 
)
virtual

Member Data Documentation

◆ iterable< DOMString >

DOMTokenList::iterable< DOMString >

◆ length

unsigned DOMTokenList::length

◆ value

NSString * DOMTokenList::value

Property Documentation

◆ length

unsigned DOMTokenList::length
readassign

◆ value

NSString* DOMTokenList::value
readwritecopy

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