| Inherits from | DOMNode : DOMObject : WebScriptObject : NSObject |
| Conforms to | |
| Framework | /System/Library/Frameworks/WebKit.framework |
| Availability | Available in Mac OS X v10.3.9 and later.
|
| Declared in | WebDOMOperations.h |
| Companion guides |
Additions to the DOMDocument class facilitate communication between the DOM API and WebKit and help convert DOM URL element attributes into web-friendly NSURL objects.
Returns the CSS rules for a given DOM element.
- (DOMCSSRuleList *)getMatchedCSSRules:(DOMElement *)elt :(NSString *)pseudoElt
Constructs a URL given an attribute string.
- (NSURL *)URLWithAttributeString:(NSString *)string
This method constructs a URL given the string value of an element attribute. Examples include the href attribute of a DOMHTMLAnchorElement object, or the src attribute of a DOMHTMLImageElement object. This method only applies to attributes that refer to URLs.
WebDOMOperations.hReturns the web frame of the DOM document.
- (WebFrame *)webFrame
WebDOMOperations.h
Last updated: 2006-07-31