]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - libjava/org/w3c/dom/DocumentFragment.java
Imported gcc-4.4.3
[msp430-gcc.git] / libjava / org / w3c / dom / DocumentFragment.java
diff --git a/libjava/org/w3c/dom/DocumentFragment.java b/libjava/org/w3c/dom/DocumentFragment.java
deleted file mode 100644 (file)
index 9579eb7..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-/*\r
- * Copyright (c) 2000 World Wide Web Consortium,\r
- * (Massachusetts Institute of Technology, Institut National de\r
- * Recherche en Informatique et en Automatique, Keio University). All\r
- * Rights Reserved. This program is distributed under the W3C's Software\r
- * Intellectual Property License. This program is distributed in the\r
- * hope that it will be useful, but WITHOUT ANY WARRANTY; without even\r
- * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR\r
- * PURPOSE.\r
- * See W3C License http://www.w3.org/Consortium/Legal/ for more details.\r
- */\r
-\r
-package org.w3c.dom;\r
-\r
-/**\r
- * <code>DocumentFragment</code> is a "lightweight" or "minimal" \r
- * <code>Document</code> object. It is very common to want to be able to \r
- * extract a portion of a document's tree or to create a new fragment of a \r
- * document. Imagine implementing a user command like cut or rearranging a \r
- * document by moving fragments around. It is desirable to have an object \r
- * which can hold such fragments and it is quite natural to use a Node for \r
- * this purpose. While it is true that a <code>Document</code> object could \r
- * fulfill this role, a <code>Document</code> object can potentially be a \r
- * heavyweight object, depending on the underlying implementation. What is \r
- * really needed for this is a very lightweight object. \r
- * <code>DocumentFragment</code> is such an object.\r
- * <p>Furthermore, various operations -- such as inserting nodes as children \r
- * of another <code>Node</code> -- may take <code>DocumentFragment</code> \r
- * objects as arguments; this results in all the child nodes of the \r
- * <code>DocumentFragment</code> being moved to the child list of this node.\r
- * <p>The children of a <code>DocumentFragment</code> node are zero or more \r
- * nodes representing the tops of any sub-trees defining the structure of \r
- * the document. <code>DocumentFragment</code> nodes do not need to be \r
- * well-formed XML documents (although they do need to follow the rules \r
- * imposed upon well-formed XML parsed entities, which can have multiple top \r
- * nodes). For example, a <code>DocumentFragment</code> might have only one \r
- * child and that child node could be a <code>Text</code> node. Such a \r
- * structure model represents neither an HTML document nor a well-formed XML \r
- * document.\r
- * <p>When a <code>DocumentFragment</code> is inserted into a \r
- * <code>Document</code> (or indeed any other <code>Node</code> that may \r
- * take children) the children of the <code>DocumentFragment</code> and not \r
- * the <code>DocumentFragment</code> itself are inserted into the \r
- * <code>Node</code>. This makes the <code>DocumentFragment</code> very \r
- * useful when the user wishes to create nodes that are siblings; the \r
- * <code>DocumentFragment</code> acts as the parent of these nodes so that \r
- * the user can use the standard methods from the <code>Node</code> \r
- * interface, such as <code>insertBefore</code> and <code>appendChild</code>.\r
- * <p>See also the <a href='http://www.w3.org/TR/2000/REC-DOM-Level-2-Core-20001113'>Document Object Model (DOM) Level 2 Core Specification</a>.\r
- */\r
-public interface DocumentFragment extends Node {\r
-}\r