Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

Next Page > Hide TOC

DOMRange Additions Reference

Inherits from
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

Overview

Additions to the DOMRange class facilitate communication between the DOM API and WebKit and help convert web content into standard markup form.

Tasks

Creating Archives

Formatting Content Ranges

Content Ranges

Instance Methods

markupString

Returns a string in markup format corresponding to the content in the range.

- (NSString *)markupString

Availability
Declared In
WebDOMOperations.h

text

Returns a string corresponding to the content in the range.

- (NSString *)text

Availability

webArchive

Returns a web archive of the content in the range.

- (WebArchive *)webArchive

Availability
Declared In
WebDOMOperations.h

Next Page > Hide TOC


Last updated: 2006-07-31




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice