| Package | Description | 
|---|---|
| org.w3c.dom | Provides the interfaces for the Document Object Model (DOM). | 
| org.w3c.dom.ranges | 
      Document Object Model Level 2 Traversal and Range is a 
      platform and language-neutral interfaces that allow programs 
      and scripts to dynamically traverse and identify a range of
      content in a document. | 
| Modifier and Type | Method and Description | 
|---|---|
| DocumentFragment | Document. createDocumentFragment()Creates an empty  DocumentFragmentobject. | 
| Modifier and Type | Method and Description | 
|---|---|
| DocumentFragment | Range. cloneContents()Duplicates the contents of a Range | 
| DocumentFragment | Range. extractContents()Moves the contents of a Range from the containing document or document
 fragment to a new DocumentFragment. | 
 Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
 Copyright © 2005, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.