]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - libjava/org/w3c/dom/Text.java
Imported gcc-4.4.3
[msp430-gcc.git] / libjava / org / w3c / dom / Text.java
diff --git a/libjava/org/w3c/dom/Text.java b/libjava/org/w3c/dom/Text.java
deleted file mode 100644 (file)
index c7c9971..0000000
+++ /dev/null
@@ -1,56 +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
- * The <code>Text</code> interface inherits from <code>CharacterData</code> \r
- * and represents the textual content (termed character data in XML) of an \r
- * <code>Element</code> or <code>Attr</code>. If there is no markup inside \r
- * an element's content, the text is contained in a single object \r
- * implementing the <code>Text</code> interface that is the only child of \r
- * the element. If there is markup, it is parsed into the information items \r
- * (elements, comments, etc.) and <code>Text</code> nodes that form the list \r
- * of children of the element.\r
- * <p>When a document is first made available via the DOM, there is only one \r
- * <code>Text</code> node for each block of text. Users may create adjacent \r
- * <code>Text</code> nodes that represent the contents of a given element \r
- * without any intervening markup, but should be aware that there is no way \r
- * to represent the separations between these nodes in XML or HTML, so they \r
- * will not (in general) persist between DOM editing sessions. The \r
- * <code>normalize()</code> method on <code>Node</code> merges any such \r
- * adjacent <code>Text</code> objects into a single node for each block of \r
- * text.\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 Text extends CharacterData {\r
-    /**\r
-     * Breaks this node into two nodes at the specified <code>offset</code>, \r
-     * keeping both in the tree as siblings. After being split, this node \r
-     * will contain all the content up to the <code>offset</code> point. A \r
-     * new node of the same type, which contains all the content at and \r
-     * after the <code>offset</code> point, is returned. If the original \r
-     * node had a parent node, the new node is inserted as the next sibling \r
-     * of the original node. When the <code>offset</code> is equal to the \r
-     * length of this node, the new node has no data.\r
-     * @param offsetThe 16-bit unit offset at which to split, starting from \r
-     *   <code>0</code>.\r
-     * @return The new node, of the same type as this node.\r
-     * @exception DOMException\r
-     *   INDEX_SIZE_ERR: Raised if the specified offset is negative or greater \r
-     *   than the number of 16-bit units in <code>data</code>.\r
-     *   <br>NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.\r
-     */\r
-    public Text splitText(int offset)\r
-                          throws DOMException;\r
-\r
-}\r